We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cb1ad6c commit 2bf17fbCopy full SHA for 2bf17fb
1 file changed
src/Stack/Setup.hs
@@ -848,6 +848,7 @@ installGHCJS si archiveFile archiveType destDir = do
848
$logDebug $ "ziptool: " <> T.pack zipTool
849
$logDebug $ "tar: " <> T.pack tarTool
850
return $ do
851
+ ignoringAbsence (removeDirRecur destDir)
852
ignoringAbsence (removeDirRecur unpackDir)
853
readInNull destDir tarTool menv ["xf", toFilePath archiveFile] Nothing
854
innerDir <- expectSingleUnpackedDir archiveFile destDir
0 commit comments