Update message for SC2171
This commit is contained in:
parent
37b24cc129
commit
a3cd5979a2
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue