mirror of
https://github.com/koalaman/shellcheck
synced 2025-07-29 19:19:10 -07:00
Fixed quoting warnings for variables in $".."
This commit is contained in:
parent
9e8a11e57c
commit
38ead0385b
1 changed files with 1 additions and 0 deletions
|
@ -1337,6 +1337,7 @@ isQuoteFree tree t =
|
||||||
-- Not true, just a hack to prevent warning about non-expansion refs
|
-- Not true, just a hack to prevent warning about non-expansion refs
|
||||||
any (isCommand t) ["local", "declare", "typeset", "export", "trap"]
|
any (isCommand t) ["local", "declare", "typeset", "export", "trap"]
|
||||||
T_DoubleQuoted _ _ -> return True
|
T_DoubleQuoted _ _ -> return True
|
||||||
|
T_DollarDoubleQuoted _ _ -> return True
|
||||||
T_CaseExpression {} -> return True
|
T_CaseExpression {} -> return True
|
||||||
T_HereDoc {} -> return True
|
T_HereDoc {} -> return True
|
||||||
T_DollarBraced {} -> return True
|
T_DollarBraced {} -> return True
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue