mirror of
https://github.com/koalaman/shellcheck
synced 2025-07-15 09:33:09 -07:00
Don't warn about single quotes in args to perl
This commit is contained in:
parent
3a9ae0ebf1
commit
8a3d259ae6
1 changed files with 1 additions and 1 deletions
|
@ -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 ()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue