We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a1fa2b9 commit 5399602Copy full SHA for 5399602
app/Main.hs
@@ -18,7 +18,8 @@ main = do
18
sOrC =
19
if | any ((".stack-work" ==) . takeFileName) files -> stackHieYaml
20
| any (("dist-newstyle" ==) . takeFileName) files -> cabalHieYaml
21
- | otherwise -> stackHieYaml
+ | any (("stack.yaml" ==) . takeFileName) files -> stackHieYaml
22
+ | otherwise -> cabalHieYaml
23
when (null path) $ error "No .cabal file found!\n You may need to run stack build."
24
file <- T.readFile $ head path
25
case parseOnly parsePackage file of
0 commit comments