mirror of
https://github.com/koalaman/shellcheck.git
synced 2025-08-07 01:59:27 +08:00
Don't warn about single quotes in args to perl
This commit is contained in:
@@ -651,7 +651,7 @@ checkSingleQuotedVariables t@(T_SingleQuoted id s) parents =
|
||||
_ -> return ()
|
||||
where
|
||||
probablyOk t =
|
||||
any (\x -> isParamTo parents x t) ["awk", "trap"]
|
||||
any (\x -> isParamTo parents x t) ["awk", "trap", "perl"]
|
||||
re = mkRegex "\\$[{(0-9a-zA-Z_]"
|
||||
checkSingleQuotedVariables _ _ = return ()
|
||||
|
||||
|
Reference in New Issue
Block a user