mirror of
https://github.com/koalaman/shellcheck
synced 2025-07-06 21:11:35 -07:00
Warn about client side expansion in ssh strings/heredocs.
This commit is contained in:
parent
07b1fd6f44
commit
de1fa61560
3 changed files with 37 additions and 3 deletions
|
@ -80,7 +80,7 @@ data Token =
|
|||
| T_GREATAND Id
|
||||
| T_Glob Id String
|
||||
| T_Greater Id
|
||||
| T_HereDoc Id Bool Bool String
|
||||
| T_HereDoc Id Bool Bool String String
|
||||
| T_HereString Id Token
|
||||
| T_If Id
|
||||
| T_IfExpression Id [([Token],[Token])] [Token]
|
||||
|
@ -272,7 +272,7 @@ getId t = case t of
|
|||
T_DollarArithmetic id _ -> id
|
||||
T_BraceExpansion id _ -> id
|
||||
T_IoFile id _ _ -> id
|
||||
T_HereDoc id _ _ _ -> id
|
||||
T_HereDoc id _ _ _ _ -> id
|
||||
T_HereString id _ -> id
|
||||
T_FdRedirect id _ _ -> id
|
||||
T_Assignment id _ _ -> id
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue