소스 검색

Use "getInitialWorkingDirectory" instead of "getWorkingDirectory"

Follow-up 8d24b61bef4839104db7f05c23400e598a8915e4
Timo Webler 4 년 전
부모
커밋
541692bbfe
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/Composer/Command/ExecCommand.php

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

@@ -99,7 +99,7 @@ EOT
             try {
                 chdir($this->getApplication()->getInitialWorkingDirectory());
             } catch (\Exception $e) {
-                throw new \RuntimeException('Could not switch back to working directory "'.$this->getApplication()->getWorkingDirectory().'"', 0, $e);
+                throw new \RuntimeException('Could not switch back to working directory "'.$this->getApplication()->getInitialWorkingDirectory().'"', 0, $e);
             }
         }