Skip to content

Commit a62fdd1

Browse files
committed
Rubocop fixes
1 parent 27c5de1 commit a62fdd1

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

Rakefile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,16 +9,16 @@ require 'yard/rake/yardoc_task'
99
desc 'Don\'t run Rubocop for unsupported versions'
1010
begin
1111
args = if RUBY_VERSION >= '2.0.0'
12-
[:spec, :make_bin_executable, :yard, :rubocop, :check_binstubs]
12+
%i[spec make_bin_executable yard rubocop check_binstubs]
1313
else
14-
[:spec, :make_bin_executable, :yard]
14+
%i[spec make_bin_executable yard]
1515
end
1616
end
1717

1818
YARD::Rake::YardocTask.new do |t|
19-
OTHER_PATHS = %w().freeze
19+
OTHER_PATHS = %w[].freeze
2020
t.files = ['lib/**/*.rb', 'bin/**/*.rb', OTHER_PATHS]
21-
t.options = %w(--markup-provider=redcarpet --markup=markdown --main=README.md --files CHANGELOG.md)
21+
t.options = %w[--markup-provider=redcarpet --markup=markdown --main=README.md --files CHANGELOG.md]
2222
end
2323

2424
RuboCop::RakeTask.new

bin/check-systemd.rb

100644100755
File mode changed.

0 commit comments

Comments
 (0)