Skip to content

Commit

Permalink
Add comment about why we ignore this error
Browse files Browse the repository at this point in the history
  • Loading branch information
runeksvendsen committed Dec 20, 2023
1 parent 3976dad commit 008def2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scripts/bootstrap/bootstrap-haskell.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -476,6 +476,8 @@ if (!(Test-Path -Path ('{0}' -f $MsysDir))) {

Print-Msg -msg 'Extracting Msys2 archive...'
$null = & "$archivePath" '-y' ('-o{0}' -f $GhcupDir) # Extract
# We ignore errors because we don't want the installation script to fail just because a temporary file can't be removed.
# Relevant issue: https://github.com/haskell/ghcup-hs/issues/952
Remove-Item -Path "$archivePath" -ErrorAction Continue

Print-Msg -msg 'Processing MSYS2 bash for first time use...'
Expand Down

0 comments on commit 008def2

Please sign in to comment.