Skip to content
Snippets Groups Projects
Commit 8934e0e6 authored by Arjun Kathuria's avatar Arjun Kathuria :rocket:
Browse files

Merge branch 'feat-nuke' of gitlab.haskell.org:arjun/ghcup-hs into feat-nuke

parents 59519feb 931904f3
No related branches found
No related tags found
1 merge request!101[WIP] Feature "nuke"
......@@ -1297,7 +1297,7 @@ rmGhcup = do
-- since it doesn't seem possible to delete a running exec in windows
-- we move it to temp dir, to be deleted at next reboot
tempDir <- liftIO $ getTemporaryDirectory
tempFilepath = tempDir </> ghcupFilename
let tempFilepath = tempDir </> ghcupFilename
liftIO $ hideError NoSuchThing $ Win32.moveFileEx ghcupFilepath (Just tempFilepath) 1
#else
-- delete it.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment