Skip to content

Commit

Permalink
Avoid new 2129 warnings when disabling the first one.
Browse files Browse the repository at this point in the history
  • Loading branch information
koalaman committed Aug 15, 2015
1 parent 54b2d14 commit 26d16eb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ShellCheck/Analytics.hs
Original file line number Diff line number Diff line change
Expand Up @@ -3338,6 +3338,7 @@ checkMultipleAppends params t =
style (snd $ fromJust f) 2129
"Consider using { cmd1; cmd2; } >> file instead of individual redirects."
checkGroup _ = return ()
getTarget (T_Annotation _ _ t) = getTarget t
getTarget (T_Pipeline _ _ args@(_:_)) = getTarget (last args)
getTarget (T_Redirecting id list _) = do
file <- mapMaybe getAppend list !!! 0
Expand Down

0 comments on commit 26d16eb

Please sign in to comment.