Update src/Composer/Console/Application.php

main
Jordi Boggiano 3 years ago committed by GitHub
parent 8eaae9f50a
commit 4e0b8c1086
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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…
Cancel
Save