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

adds returning left-over files back to Main.hs from rmGhcupDirs

parent 6379a26a
No related branches found
No related tags found
1 merge request!101[WIP] Feature "nuke"
......@@ -1367,7 +1367,7 @@ rmGhcupDirs = do
-- remove bin directory conditionally
rmBinDir binDir
liftIO $ print dirs
reportRemainingFiles baseDir
where
......@@ -1401,6 +1401,10 @@ rmGhcupDirs = do
removeDirIfEmpty binDir
#endif
reportRemainingFiles ghcupDir = do
remainingFiles <- liftIO $ getDirectoryContentsRecursive ghcupDir
pure remainingFiles
deleteFile filepath = do
hideError InappropriateType $ rmFile filepath
......
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