Browse Source

Output CWD change, refs #3332

Jordi Boggiano 10 years ago
parent
commit
382b6c64d5
1 changed files with 3 additions and 0 deletions
  1. 3 0
      src/Composer/Console/Application.php

+ 3 - 0
src/Composer/Console/Application.php

@@ -109,6 +109,9 @@ class Application extends BaseApplication
         if ($newWorkDir = $this->getNewWorkingDir($input)) {
             $oldWorkingDir = getcwd();
             chdir($newWorkDir);
+            if ($output->getVerbosity() >= 4) {
+                $output->writeln('Changed CWD to ' . getcwd());
+            }
         }
 
         // add non-standard scripts as own commands