From edaae29e1a193dfca8c30a8ff3f61a991710f4df Mon Sep 17 00:00:00 2001 From: Simon Jakobi Date: Wed, 6 Apr 2016 21:23:33 +0200 Subject: [PATCH] Remove `global-stack-root` from the output of `stack path`. --- src/main/Main.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/Main.hs b/src/main/Main.hs index 037550c1f9..c2d114ba04 100644 --- a/src/main/Main.hs +++ b/src/main/Main.hs @@ -561,7 +561,7 @@ pathCmd keys go = -- or show all of them if no specific paths chosen. (filter (\(_,key,_) -> - null keys || elem key keys) + (null keys && key /= T.pack deprecatedStackRootOptionName) || elem key keys) paths) (\(_,key,path) -> liftIO $ T.putStrLn