Skip to content

Commit

Permalink
Fix up err() that should be warn().
Browse files Browse the repository at this point in the history
  • Loading branch information
dereuromark committed Nov 13, 2016
1 parent 6133a99 commit 673ae7f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Shell/RoutesShell.php
Expand Up @@ -69,7 +69,7 @@ public function check($url)
$this->helper('table')->output($output);
$this->out();
} catch (MissingRouteException $e) {
$this->err("<warning>'$url' did not match any routes.</warning>");
$this->warn("'$url' did not match any routes.");
$this->out();

return false;
Expand Down
2 changes: 1 addition & 1 deletion src/Shell/Task/ExtractTask.php
Expand Up @@ -140,7 +140,7 @@ protected function _getPaths()
return;
}
if (strtoupper($response) === 'D') {
$this->err('<warning>No directories selected.</warning> Please choose a directory.');
$this->warn('No directories selected. Please choose a directory.');
} elseif (is_dir($response)) {
$this->_paths[] = $response;
$defaultPath = 'D';
Expand Down

0 comments on commit 673ae7f

Please sign in to comment.