From 46fcdd356c8f2d107e739256478f8aa193ee35e3 Mon Sep 17 00:00:00 2001 From: Arjun Kathuria Date: Sat, 26 Jun 2021 19:32:53 +0530 Subject: [PATCH] Use rmFile instead of removeFile. --- lib/GHCup.hs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/GHCup.hs b/lib/GHCup.hs index d5d71e9..b35c692 100644 --- a/lib/GHCup.hs +++ b/lib/GHCup.hs @@ -1371,11 +1371,11 @@ rmGhcupDirs = do rmEnvFile enFilePath = do $logInfo "Removing Ghcup Environment File" - hideError doesNotExistErrorType $ liftIO $ removeFile enFilePath + hideError doesNotExistErrorType $ liftIO $ deleteFile enFilePath rmConfFile confFilePath = do $logInfo "removing Ghcup Config File" - hideError doesNotExistErrorType $ liftIO $ removeFile confFilePath + hideError doesNotExistErrorType $ liftIO $ deleteFile confFilePath rmCacheDir cacheDir = do $logInfo "removing ghcup cache Dir"