aboutsummaryrefslogtreecommitdiff
path: root/src/F2Md/Utils.hs
diff options
context:
space:
mode:
authorYuchen Pei <hi@ypei.me>2022-05-30 16:22:44 +1000
committerYuchen Pei <hi@ypei.me>2022-05-30 16:22:44 +1000
commitc96f8f6c820d43a55388f0307f3a6de9471ebb10 (patch)
treed28b4a77c03a4bb50b9ee0ea5d87074ace254e60 /src/F2Md/Utils.hs
parent231b58693759be1174a3866e469f170387c22376 (diff)
linting
Diffstat (limited to 'src/F2Md/Utils.hs')
-rw-r--r--src/F2Md/Utils.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/F2Md/Utils.hs b/src/F2Md/Utils.hs
index 25bf63a..33abe00 100644
--- a/src/F2Md/Utils.hs
+++ b/src/F2Md/Utils.hs
@@ -28,5 +28,5 @@ expandPath path =
let (pre, post) = break (=='/') path in
case pre of
"~" -> (++ post) <$> getHomeDirectory
- '~' : user -> (++ post) <$> homeDirectory <$> getUserEntryForName user
+ '~' : user -> (++ post) . homeDirectory <$> getUserEntryForName user
_ -> return path