Skip to content
This repository has been archived by the owner on May 14, 2024. It is now read-only.

Commit

Permalink
Merge pull request #4 from terbolous/master
Browse files Browse the repository at this point in the history
Replace unknown method $this->warn with stderr()
  • Loading branch information
sjelfull authored Nov 9, 2018
2 parents 840108d + aa7a026 commit a04989c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/console/controllers/DefaultController.php
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ public function actionIndex()
$logDirectory = Craft::$app->getPath()->getLogPath();

if (!$path = $this->findLatestLogFile($logDirectory, $this->type)) {
$this->warn("Could not find a log file in `{$logDirectory}`.");
$this->stderr("Could not find a log file in `{$logDirectory}`.\n", Console::FG_RED);

return;
}
Expand Down

0 comments on commit a04989c

Please sign in to comment.