Commit e4ed614d authored by Moritz Angermann's avatar Moritz Angermann
Browse files

Show the candidates.

parent a7da5e01
......@@ -46,8 +46,9 @@ lookupInPath c
| otherwise = do
envPaths <- splitOn ":" <$> getEnvWithDefault "" "PATH"
let candidates = map (-/- c) envPaths in
-- this will crash if we do not find any valid candidate.
head <$> filterM doesFileExist candidates
mapM_ putStrLn candidates
-- this will crash if we do not find any valid candidate.
head <$> filterM doesFileExist candidates
-- Oracle for windowsRoot. This operation requires caching as looking up
-- the root is slow (at least the current implementation).
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment