@@ -44,7 +44,7 @@ mkStackYaml p = case splitFileName p of
4444 (dir, "") -> StackYaml dir "stack.yaml"
4545 (dir, ".") -> StackYaml dir "stack.yaml"
4646 (_ , "..") -> StackYaml p "stack.yaml"
47− _ -> StackYaml "." p
47+ (dir, file) -> StackYaml dir file
4848
4949options :: Parser Options
5050options = Options