Skip to content

Commit

Permalink
re-add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
cakekindel committed Sep 17, 2024
1 parent 60c2f6e commit 364983e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Spago/Psa.purs
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,8 @@ psaCompile globs pursArgs psaArgs = do
print' = if psaArgs.jsonErrors then printJsonOutputToOut else printDefaultOutputToErr psaArgs

errors <- for (Str.split (Str.Pattern "\n") resultStdout) \err -> runExceptT do
-- If we can't decode the error, then there's likely a codec issue on Spago's side.
-- So, this shouldn't fail the build.
out <- ExceptT $ pure $ JSON.parse err >>= CJ.decode psaResultCodec >>> lmap CJ.DecodeError.print
files <- liftEffect $ Ref.new FO.empty
out' <- lift $ buildOutput (loadLines files) psaArgs out
Expand Down

0 comments on commit 364983e

Please sign in to comment.