mirror of
https://github.com/composer/composer
synced 2025-05-10 17:12:51 +00:00
Clean up temp dir
This commit is contained in:
parent
26b3a1711f
commit
fd93f6d648
1 changed files with 5 additions and 0 deletions
|
@ -141,6 +141,11 @@ class ConsoleIO implements IOInterface
|
|||
$value = rtrim(shell_exec($exe));
|
||||
$this->write('');
|
||||
|
||||
// clean up
|
||||
if (isset($tmpExe)) {
|
||||
unlink($tmpExe);
|
||||
}
|
||||
|
||||
return $value;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue