浏览代码

Fix output of diag command

Jordi Boggiano 12 年之前
父节点
当前提交
e64050e91d
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/Composer/Command/DiagnoseCommand.php

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

@@ -222,7 +222,7 @@ EOT
         if ((($df = disk_free_space($dir = $config->get('home'))) !== false && $df < $minSpaceFree)
         if ((($df = disk_free_space($dir = $config->get('home'))) !== false && $df < $minSpaceFree)
             || (($df = disk_free_space($dir = $config->get('vendor-dir'))) !== false && $df < $minSpaceFree)
             || (($df = disk_free_space($dir = $config->get('vendor-dir'))) !== false && $df < $minSpaceFree)
         ) {
         ) {
-            return '<error>The disk hosting '.$dir.' is full, this may be the cause of the following exception</error>';
+            return '<error>The disk hosting '.$dir.' is full</error>';
         }
         }
 
 
         return true;
         return true;