Pārlūkot izejas kodu

Fix undefined var

Jordi Boggiano 9 gadi atpakaļ
vecāks
revīzija
249d97f7cb
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  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>');