Browse Source

Merge branch '1.10'

Jordi Boggiano 4 years ago
parent
commit
b27c4b2472
1 changed files with 1 additions and 1 deletions
  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);
             }
         }