Project

General

Profile

Actions

Bug #22662

closed

[rubocop] configure using TargetRubyVersion parameter, under AllCops

Added by Swapnil Abnave almost 7 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Category:
-
Target version:
Difficulty:
trivial
Triaged:
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

Actions

Also available in: Atom PDF