Update src/Composer/Console/Application.php
parent
8eaae9f50a
commit
4e0b8c1086
|
@ -311,9 +311,7 @@ class Application extends BaseApplication
|
||||||
|
|
||||||
// chdir back to $oldWorkingDir if set
|
// chdir back to $oldWorkingDir if set
|
||||||
if (isset($oldWorkingDir)) {
|
if (isset($oldWorkingDir)) {
|
||||||
Silencer::call(function () use ($oldWorkingDir) {
|
Silencer::call('chdir', $oldWorkingDir);
|
||||||
chdir($oldWorkingDir);
|
|
||||||
});
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (isset($startTime)) {
|
if (isset($startTime)) {
|
||||||
|
|
Loading…
Reference in New Issue