Merge pull request #105 from m-ildefons/wip/status-badge #70
Annotations
7 warnings
|
hlint
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
|
hlint:
src/Language/Docker/Parser/Copy.hs#L39
Suggestion in parseCopy, parseAdd in module Language.Docker.Parser.Copy: Reduce duplication ▫︎ Found: "let cho\n = case chownFlags of\n [] -> NoChown\n c : _ -> c\nlet chm\n = case chmodFlags of\n [] -> NoChmod\n c : _ -> c\nlet lnk\n = case linkFlags of\n [] -> NoLink\n l : _ -> l\n" ▫︎ Perhaps: "Combine with src/Language/Docker/Parser/Copy.hs:(80,7)-(82,28)"
|
|
hlint:
src/Language/Docker/Parser/Copy.hs#L25
Suggestion in parseCopy, parseAdd in module Language.Docker.Parser.Copy: Reduce duplication ▫︎ Found: "let chownFlags = [c | FlagChown c <- flags]\nlet chmodFlags = [c | FlagChmod c <- flags]\nlet linkFlags = [l | FlagLink l <- flags]\n" ▫︎ Perhaps: "Combine with src/Language/Docker/Parser/Copy.hs:63:3-45"
|
|
hlint:
src/Language/Docker/PrettyPrint.hs#L298
Suggestion in prettyPrintInstruction in module Language.Docker.PrettyPrint: Reduce duplication ▫︎ Found: "prettyPrintChown chownFlag\nprettyPrintChmod chmodFlag\nprettyPrintLink linkFlag\n" ▫︎ Perhaps: "Combine with src/Language/Docker/PrettyPrint.hs:333:9-34"
|
|
hlint
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
|
hlint
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
|
hlint
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|