summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVidar Holen <spam@vidarholen.net>2018-12-02 19:07:45 -0800
committerVidar Holen <spam@vidarholen.net>2018-12-02 19:08:06 -0800
commit66b5f13c6ffd54ae749bfc9f6d8496de2380db0e (patch)
tree09d05009be88f199fbd2565bb4bb14bd2b69ddc7
parenta7a404a5a839639464f24956e0e16e2087868b6b (diff)
Make wiki links fit in 80 columns
-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 64091dd..dd0e0da 100644
--- a/src/ShellCheck/Formatter/TTY.hs
+++ b/src/ShellCheck/Formatter/TTY.hs
@@ -94,7 +94,7 @@ outputWiki errRef = do
where
showErr (_, code, msg) =
putStrLn $ " " ++ wikiLink ++ "SC" ++ show code ++ " -- " ++ shorten msg
- limit = 40
+ limit = 36
shorten msg =
if length msg < limit
then msg