aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/app/RemovePath.hs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--app/RemovePath.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/RemovePath.hs b/app/RemovePath.hs
index 56ea66f..779de6f 100644
--- a/app/RemovePath.hs
+++ b/app/RemovePath.hs
@@ -74,7 +74,7 @@ removePath options = runExceptT doRemovePath >>= either ioError return
let expandable = WindowsEnv.valueExpandable oldValue
let joined = WindowsEnv.valueString oldValue
let split = WindowsEnv.pathSplit joined
- let remaining = filter (flip notElem pathsToRemove) split
+ let remaining = filter (`notElem` pathsToRemove) split
when (length split /= length remaining) $ do
let newValue = WindowsEnv.Value expandable (WindowsEnv.pathJoin remaining)
promptAndEngrave profile oldValue newValue