Skip to content

Commit

Permalink
Revert "Remove the binary so we can overwrite it while its open"
Browse files Browse the repository at this point in the history
This reverts commit f0e57ca.
  • Loading branch information
deviantintegral committed Sep 4, 2024
1 parent 2a58096 commit 921655a
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/BinaryInstaller.php
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,6 @@ protected function installBinary($binary, $version, $url, $sha, $hashalgo = 'sha
$this->io->write(sprintf('%s v%s (%s) already exists in bin-dir, not overwriting.', $binary, $version, $sha));
}
else {
$fs->remove($binDestination);
$fs->copy($cacheExtractedBinary, $binDestination);
// Make executable.
if ('windows' !== $this->platform) {
Expand Down

0 comments on commit 921655a

Please sign in to comment.