Use "getInitialWorkingDirectory" instead of "getWorkingDirectory"
Follow-up 8d24b61bef
pull/8921/head
parent
42fc372e52
commit
541692bbfe
|
@ -99,7 +99,7 @@ EOT
|
||||||
try {
|
try {
|
||||||
chdir($this->getApplication()->getInitialWorkingDirectory());
|
chdir($this->getApplication()->getInitialWorkingDirectory());
|
||||||
} catch (\Exception $e) {
|
} 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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue