Skip to content

Commit

Permalink
oops :)
Browse files Browse the repository at this point in the history
  • Loading branch information
cakekindel committed Sep 16, 2024
1 parent 1ef571d commit f3638d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Spago/Psa.purs
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ psaCompile globs pursArgs psaArgs = do
if Array.all identity arrErrorsIsEmpty && Cmd.exitedOk result then do
logSuccess "Build succeeded."
pure true
else if not $ Cmd.exitedOk result then do
else if Array.all identity arrErrorsIsEmpty && not (Cmd.exitedOk result) then do
prepareToDie [ "purs exited with non-ok status code: " <> show (Cmd.exit result) ]
pure false
else do
Expand Down

0 comments on commit f3638d6

Please sign in to comment.