mirror of
https://github.com/koalaman/shellcheck
synced 2025-07-08 05:51:09 -07:00
Fixed unquoted error for [ ! $(foo) ]
This commit is contained in:
parent
b2c1c103c1
commit
01d3e5e858
3 changed files with 3 additions and 3 deletions
|
@ -279,7 +279,7 @@ readConditionContents single = do
|
|||
char '!'
|
||||
softCondSpacing
|
||||
expr <- readCondExpr
|
||||
return $ TC_Not id typ expr
|
||||
return $ TC_Unary id typ "!" expr
|
||||
|
||||
readCondExpr =
|
||||
readCondGroup <|> readCondUnaryExp <|> readCondNoaryOrBinary
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue