Adds the new rmGhcupDirs function in Main.hs under Nuke command

This commit is contained in:
Arjun Kathuria 2021-06-22 23:15:13 +05:30
parent 8a1dbe9dbb
commit 07fb04bb74
1 changed files with 2 additions and 0 deletions

View File

@ -1713,6 +1713,8 @@ Make sure to clean up #{tmpdir} afterwards.|])
lInstalled <- runLogger . flip runReaderT appstate $ listVersions Nothing (Just ListInstalled)
forM_ lInstalled $ runRm . rmTool
runLogger $ runReaderT rmGhcupDirs appstate
pure ExitSuccess
case res of