mirror of
https://github.com/koalaman/shellcheck.git
synced 2025-08-08 11:14:25 +08:00
Remove trailing space in output (fixes #2961)
This commit is contained in:
@@ -169,7 +169,7 @@ showFixedString color comments lineNum fileLines =
|
|||||||
-- and/or other unrelated lines.
|
-- and/or other unrelated lines.
|
||||||
let (excerptFix, excerpt) = sliceFile mergedFix fileLines
|
let (excerptFix, excerpt) = sliceFile mergedFix fileLines
|
||||||
-- in the spirit of error prone
|
-- in the spirit of error prone
|
||||||
putStrLn $ color "message" "Did you mean: "
|
putStrLn $ color "message" "Did you mean:"
|
||||||
putStrLn $ unlines $ applyFix excerptFix excerpt
|
putStrLn $ unlines $ applyFix excerptFix excerpt
|
||||||
|
|
||||||
cuteIndent :: PositionedComment -> String
|
cuteIndent :: PositionedComment -> String
|
||||||
|
Reference in New Issue
Block a user