mirror of
https://github.com/koalaman/shellcheck
synced 2025-08-20 21:33:50 -07:00
Minor reformatting
This commit is contained in:
parent
2f5a7be421
commit
cde1e2966f
4 changed files with 41 additions and 41 deletions
|
@ -46,7 +46,7 @@ doInput filename contents colorFunc = do
|
|||
else do
|
||||
putStrLn ("No comments for " ++ filename)
|
||||
|
||||
cuteIndent comment =
|
||||
cuteIndent comment =
|
||||
(replicate ((shpellColumn comment) - 1) ' ') ++ "^-- " ++ (shpellComment comment)
|
||||
|
||||
getColorFunc = do
|
||||
|
@ -60,6 +60,6 @@ main = do
|
|||
hPutStrLn stderr "shpell -- bash/sh shell script static analysis tool"
|
||||
hPutStrLn stderr "Usage: shpell filenames..."
|
||||
exitFailure
|
||||
else
|
||||
else
|
||||
mapM (\f -> doFile f colors) args
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue