mirror of
https://github.com/koalaman/shellcheck.git
synced 2025-09-19 02:06:55 +08:00
Make wiki links fit in 80 columns
This commit is contained in:
@@ -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
|
||||||
|
Reference in New Issue
Block a user