Project

General

Profile

Bug #22662

[rubocop] configure using TargetRubyVersion parameter, under AllCops

Added by Swapnil Abnave almost 2 years ago. Updated over 1 year ago.

Status:
Closed
Priority:
Normal
Category:
-
Target version:
Difficulty:
trivial
Triaged:
Bugzilla link:
Fixed in Releases:
Found in Releases:

Description

Offenses:
lib/foreman_maintain/cli/base.rb:95:72: E: unexpected token kDO
(Using Ruby 2.1 parser; configure using TargetRubyVersion parameter, under AllCops)
               'Comma-separated list of labels of steps to be ignored' do |whitelist|
                                                                       ^^
lib/foreman_maintain/cli/base.rb:96:17: E: unexpected token tCONSTANT
(Using Ruby 2.1 parser; configure using TargetRubyVersion parameter, under AllCops)
          raise ArgumentError, 'value not specified' if whitelist.nil? || whitelist.empty?
                ^^^^^^^^^^^^^
lib/foreman_maintain/cli/base.rb:109:1: E: unexpected token kEND
(Using Ruby 2.1 parser; configure using TargetRubyVersion parameter, under AllCops)
end
^^^

https://travis-ci.org/theforeman/foreman_maintain/jobs/344777783

Associated revisions

Revision 17d02c63 (diff)
Added by Swapnil Abnave almost 2 years ago

Fixes #22662 - rubocop complaining unexpected token: cli/base.rb

History

#1 Updated by The Foreman Bot almost 2 years ago

  • Pull request https://github.com/theforeman/foreman_maintain/pull/144 added

#2 Updated by Swapnil Abnave almost 2 years ago

  • % Done changed from 0 to 100
  • Status changed from New to Closed

#3 Updated by Ivan Necas over 1 year ago

  • Legacy Backlogs Release (now unused) set to 348

Also available in: Atom PDF