Fix recompilation of SetupHooks file #263
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\")"
|