소스 검색

Output CWD change, refs #3332

Jordi Boggiano 10 년 전
부모
커밋
382b6c64d5
1개의 변경된 파일3개의 추가작업 그리고 0개의 파일을 삭제
  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