Browse Source

Remove original indent if present, fixes #3143

Jordi Boggiano 10 years ago
parent
commit
9c32f24cfc
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/Composer/Command/StatusCommand.php

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

@@ -84,7 +84,7 @@ EOT
         foreach ($errors as $path => $changes) {
             if ($input->getOption('verbose')) {
                 $indentedChanges = implode("\n", array_map(function ($line) {
-                    return '    ' . $line;
+                    return '    ' . ltrim($line);
                 }, explode("\n", $changes)));
                 $output->writeln('<info>'.$path.'</info>:');
                 $output->writeln($indentedChanges);