codeclimate-rubocop icon indicating copy to clipboard operation
codeclimate-rubocop copied to clipboard

Freaks out with a loop

Open envygeeks opened this issue 4 years ago • 1 comments

This is a codeclimate specific issue as it does not happen on Rubocop provided by RubyGems, but CodeClimate Rubocop on the Codeclimate CI freaks out with certain kinds of loops, e.g.

while (_, v = Redis.current.blpop(@key, timeout: 1))
  # Do Work
end

envygeeks avatar Jul 17 '19 23:07 envygeeks

Could it be because of the rubocop version? Have you tried with most recent versions? We support them through channels.

filipesperandio avatar Oct 13 '20 19:10 filipesperandio