mirror of
https://github.com/koalaman/shellcheck.git
synced 2025-08-07 22:38:50 +08:00
Fixed unquoted error for [ ! $(foo) ]
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user