mirror of
https://github.com/koalaman/shellcheck.git
synced 2025-08-28 00:49:28 +08:00
SC2323: Warn about redundant parens in a[(x+1)] and $(( ((x)) )) (ref: #1666)
This commit is contained in:
@@ -479,6 +479,7 @@ build t = do
|
||||
TA_Binary _ _ a b -> sequentially [a,b]
|
||||
TA_Expansion _ list -> sequentially list
|
||||
TA_Sequence _ list -> sequentially list
|
||||
TA_Parentesis _ t -> build t
|
||||
|
||||
TA_Trinary _ cond a b -> do
|
||||
condition <- build cond
|
||||
|
Reference in New Issue
Block a user