1
0
Fork 0

Use "getInitialWorkingDirectory" instead of "getWorkingDirectory"

Follow-up 8d24b61bef
pull/8921/head
Timo Webler 2020-05-18 13:19:27 +02:00 committed by Jordi Boggiano
parent 42fc372e52
commit 541692bbfe
No known key found for this signature in database
GPG Key ID: 7BBD42C429EC80BC
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}
}