Skip to content

improve getJsonBody error output #722

improve getJsonBody error output

improve getJsonBody error output #722

Triggered via pull request September 19, 2024 17:16
Status Cancelled
Total duration 1m 32s
Artifacts

ci.yml

on: pull_request
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

9 errors and 2 warnings
lint
HLint failed with status: 1. Warning (1), Suggestion (1)
test (stack-lts-21.25.yaml)
Canceling since a higher priority waiting request for 'CI-refs/pull/200/merge' exists
test (stack-lts-21.25.yaml)
The operation was canceled.
test (stack.yaml)
Canceling since a higher priority waiting request for 'CI-refs/pull/200/merge' exists
test (stack.yaml)
The operation was canceled.
test (stack-nightly.yaml)
Canceling since a higher priority waiting request for 'CI-refs/pull/200/merge' exists
test (stack-nightly.yaml)
The operation was canceled.
test (stack-lts-20.26.yaml)
Canceling since a higher priority waiting request for 'CI-refs/pull/200/merge' exists
test (stack-lts-20.26.yaml)
The operation was canceled.
lint: freckle-app/library/Freckle/App/Test/Yesod.hs#L185
Warning in getCsvBody in module Freckle.App.Test.Yesod: Use pure ▫︎ Found: "return" ▫︎ Perhaps: "pure"
lint: freckle-app/library/Freckle/App/Test/Yesod.hs#L187
Suggestion in getCsvBody in module Freckle.App.Test.Yesod: Move brackets to avoid $ ▫︎ Found: "(liftIO $ HUnit.assertFailure $ T.unpack reason) >> error \"\"" ▫︎ Perhaps: "liftIO (HUnit.assertFailure $ T.unpack reason) >> error \"\""