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

This commit is contained in:
Arjun Kathuria 2021-06-26 21:54:42 +05:30
parent 6379a26afb
commit 830fb70492

View File

@ -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