mirror of
https://github.com/koalaman/shellcheck
synced 2025-07-16 10:03:08 -07:00
Don't warn about [ a '>' b ] needing escapes.
This commit is contained in:
parent
8672af29ef
commit
6b62b5bf7e
2 changed files with 2 additions and 1 deletions
|
@ -447,7 +447,7 @@ readConditionContents single =
|
|||
c <- oneOf "'\""
|
||||
s <- anyOp
|
||||
char c
|
||||
return s
|
||||
return $ escaped s
|
||||
|
||||
anyOp = flagOp <|> flaglessOp <|> fail
|
||||
"Expected comparison operator (don't wrap commands in []/[[]])"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue