Explorar el Código

Fix undefined var

Jordi Boggiano hace 9 años
padre
commit
249d97f7cb
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/Composer/Command/StatusCommand.php

+ 1 - 1
src/Composer/Command/StatusCommand.php

@@ -89,7 +89,7 @@ EOT
         }
 
         // output errors/warnings
-        if (!$errors && !$unpushed) {
+        if (!$errors && !$unpushedChanges) {
             $io->writeError('<info>No local changes</info>');
         } elseif ($errors) {
             $io->writeError('<error>You have changes in the following dependencies:</error>');