Skip to content

Commit ea51206

Browse files
committed
Show which tool was used in error
1 parent fc93819 commit ea51206

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

app/Main.hs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@ main = do
2020
_ -> stackYamlPkgs pwd
2121
when (null cfs) $
2222
error $
23-
"No .cabal files found under"
23+
"Used" <> name
24+
<> "\n No .cabal files found under"
2425
<> pwd
2526
<> "\n You may need to run stack build."
2627
pkgs <- catMaybes <$> mapM (nestedPkg pwd) (concat cfs)

0 commit comments

Comments
 (0)