瀏覽代碼

Fix undefined var

Jordi Boggiano 9 年之前
父節點
當前提交
249d97f7cb
共有 1 個文件被更改,包括 1 次插入1 次删除
  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>');