diff --git a/src/Composer/Command/DiagnoseCommand.php b/src/Composer/Command/DiagnoseCommand.php index b79350fcc..8c39a61bd 100644 --- a/src/Composer/Command/DiagnoseCommand.php +++ b/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 'The disk hosting '.$dir.' is full, this may be the cause of the following exception'; + return 'The disk hosting '.$dir.' is full'; } return true;