Bug #22662
[rubocop] configure using TargetRubyVersion parameter, under AllCops
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
History
#1
Updated by The Foreman Bot over 4 years ago
- Pull request https://github.com/theforeman/foreman_maintain/pull/144 added
#2
Updated by Swapnil Abnave over 4 years ago
- % Done changed from 0 to 100
- Status changed from New to Closed
Applied in changeset foreman_maintain|17d02c63659f061bf4d6bfedffa1f67ea229165d.
#3
Updated by Ivan Necas over 4 years ago
- Legacy Backlogs Release (now unused) set to 348
Fixes #22662 - rubocop complaining unexpected token: cli/base.rb