mirror of
https://github.com/koalaman/shellcheck
synced 2025-07-07 13:31:36 -07:00
Update message for SC2171
This commit is contained in:
parent
37b24cc129
commit
a3cd5979a2
1 changed files with 1 additions and 1 deletions
|
@ -2737,7 +2737,7 @@ checkTrailingBracket _ token =
|
|||
parameters = oversimplify command
|
||||
guard $ opposite `notElem` parameters
|
||||
return $ warn id 2171 $
|
||||
"Found trailing " ++ str ++ " outside test. Missing " ++ opposite ++ "?"
|
||||
"Found trailing " ++ str ++ " outside test. Add missing " ++ opposite ++ " or quote if intentional."
|
||||
_ -> return ()
|
||||
invert s =
|
||||
case s of
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue