mirror of
https://github.com/koalaman/shellcheck
synced 2025-07-06 13:01:39 -07:00
Make wiki links fit in 80 columns
This commit is contained in:
parent
a7a404a5a8
commit
66b5f13c6f
1 changed files with 1 additions and 1 deletions
|
@ -94,7 +94,7 @@ outputWiki errRef = do
|
||||||
where
|
where
|
||||||
showErr (_, code, msg) =
|
showErr (_, code, msg) =
|
||||||
putStrLn $ " " ++ wikiLink ++ "SC" ++ show code ++ " -- " ++ shorten msg
|
putStrLn $ " " ++ wikiLink ++ "SC" ++ show code ++ " -- " ++ shorten msg
|
||||||
limit = 40
|
limit = 36
|
||||||
shorten msg =
|
shorten msg =
|
||||||
if length msg < limit
|
if length msg < limit
|
||||||
then msg
|
then msg
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue