1
0
Fork 0

Update src/Composer/Console/Application.php

pull/9651/head
Jordi Boggiano 2021-01-27 09:17:25 +01:00 committed by GitHub
parent 8eaae9f50a
commit 4e0b8c1086
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 3 deletions

View File

@ -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)) {