Skip to content

Commit ab73bc9

Browse files
committed
Yay CI debugging
1 parent d701441 commit ab73bc9

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/Spago/Git.hs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,11 @@ hasCleanWorkingTree = do
2929
logDebug $ "git status stderr: " <> display err
3030
die [ "Unable to check git status. Perhaps git is not installed or this is not a git repository?" ]
3131

32-
pure $ out == ""
32+
if out == ""
33+
then pure True
34+
else do
35+
logDebug $ "Git working tree is not clean: " <> displayShow out
36+
pure False
3337

3438

3539
getAllTags :: HasGit env => RIO env [Text]

0 commit comments

Comments
 (0)