Explorar el Código

Fix output of diag command

Jordi Boggiano hace 12 años
padre
commit
e64050e91d
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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)
             || (($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;