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