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 d5e8ab9 commit 8f76871Copy full SHA for 8f76871
app/Main.hs
@@ -18,8 +18,8 @@ main = do
18
files <- listDirectory pwd
19
cfs <- cabalFiles pwd
20
let sOrC =
21
- if | any ((".stack-work" ==) . takeFileName) files -> stackHieYaml
22
- | any (("dist-newstyle" ==) . takeFileName) files -> cabalHieYaml
+ if | any (("dist-newstyle" ==) . takeFileName) files -> cabalHieYaml
+ | any ((".stack-work" ==) . takeFileName) files -> stackHieYaml
23
| any (("stack.yaml" ==) . takeFileName) files -> stackHieYaml
24
| otherwise -> cabalHieYaml
25
gen f = do
0 commit comments