summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVidar Holen <vidar@vidarholen.net>2024-04-08 20:24:28 -0700
committerVidar Holen <vidar@vidarholen.net>2024-04-08 20:24:28 -0700
commit04a86245a10fe0a9e48755237f315999986f54c0 (patch)
tree5c540d550c090b1f66eeb20910785c65d10e1645
parent79491db9f679167ee346c149448a0f66062c74af (diff)
Remove trailing space in output (fixes #2961)
-rw-r--r--src/ShellCheck/Formatter/TTY.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ShellCheck/Formatter/TTY.hs b/src/ShellCheck/Formatter/TTY.hs
index e503639..117da6e 100644
--- a/src/ShellCheck/Formatter/TTY.hs
+++ b/src/ShellCheck/Formatter/TTY.hs
@@ -169,7 +169,7 @@ showFixedString color comments lineNum fileLines =
-- and/or other unrelated lines.
let (excerptFix, excerpt) = sliceFile mergedFix fileLines
-- in the spirit of error prone
- putStrLn $ color "message" "Did you mean: "
+ putStrLn $ color "message" "Did you mean:"
putStrLn $ unlines $ applyFix excerptFix excerpt
cuteIndent :: PositionedComment -> String