Skip to content

Fix recompilation of SetupHooks file #263

Fix recompilation of SetupHooks file

Fix recompilation of SetupHooks file #263

Triggered via push April 18, 2024 09:23
Status Failure
Total duration 1m 24s
Artifacts

lint.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

1 error and 2 warnings
hlint
HLint failed with status: 1. Suggestion (2)
hlint: cabal-testsuite/PackageTests/HooksPreprocessor/custom-build-tool/src/CustomBuildTool.hs#L55
Suggestion in mkCustomBuildTool in module CustomBuildTool: Use zipWith ▫︎ Found: "map (preprocessLine customConstants) (zip [1 .. ] inputLines)" ▫︎ Perhaps: "zipWith (curry (preprocessLine customConstants)) [1 .. ] inputLines"
hlint: hooks-exe/cli/Distribution/Client/SetupHooks/CallHooksExe.hs#L210
Suggestion in runExternalPreBuildRules in module Distribution.Client.SetupHooks.CallHooksExe: Use curry ▫︎ Found: "\\ rId cmd -> hook \"runPreBuildRule\" (rId, cmd)" ▫︎ Perhaps: "curry (hook \"runPreBuildRule\")"