Browse Source

Fix up err() that should be warn().

dereuromark 9 years ago
parent
commit
673ae7fcdf
2 changed files with 2 additions and 2 deletions
  1. 1 1
      src/Shell/RoutesShell.php
  2. 1 1
      src/Shell/Task/ExtractTask.php

+ 1 - 1
src/Shell/RoutesShell.php

@@ -69,7 +69,7 @@ class RoutesShell extends Shell
             $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;

+ 1 - 1
src/Shell/Task/ExtractTask.php

@@ -140,7 +140,7 @@ class ExtractTask extends Shell
                 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';