mirror of
https://github.com/koalaman/shellcheck
synced 2025-07-29 19:19:10 -07:00
Fixed bad for f in $(ls *.mp3) after T_Glob
This commit is contained in:
parent
bb6c155341
commit
1d7c6f68b4
1 changed files with 2 additions and 1 deletions
|
@ -113,6 +113,7 @@ deadSimple (T_DollarBraced _ _) = ["${VAR}"]
|
|||
deadSimple (T_DollarArithmetic _ _) = ["${VAR}"]
|
||||
deadSimple (T_DollarExpansion _ _) = ["${VAR}"]
|
||||
deadSimple (T_Backticked _ _) = ["${VAR}"]
|
||||
deadSimple (T_Glob _ s) = [s]
|
||||
deadSimple (T_Pipeline _ [x]) = deadSimple x
|
||||
deadSimple (T_Literal _ x) = [x]
|
||||
deadSimple (T_SimpleCommand _ vars words) = concatMap (deadSimple) words
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue