mirror of
https://github.com/koalaman/shellcheck.git
synced 2025-08-08 14:27:35 +08:00
Update message for SC2171
This commit is contained in:
@@ -2737,7 +2737,7 @@ checkTrailingBracket _ token =
|
|||||||
parameters = oversimplify command
|
parameters = oversimplify command
|
||||||
guard $ opposite `notElem` parameters
|
guard $ opposite `notElem` parameters
|
||||||
return $ warn id 2171 $
|
return $ warn id 2171 $
|
||||||
"Found trailing " ++ str ++ " outside test. Missing " ++ opposite ++ "?"
|
"Found trailing " ++ str ++ " outside test. Add missing " ++ opposite ++ " or quote if intentional."
|
||||||
_ -> return ()
|
_ -> return ()
|
||||||
invert s =
|
invert s =
|
||||||
case s of
|
case s of
|
||||||
|
Reference in New Issue
Block a user