Skip to content
This repository was archived by the owner on Feb 7, 2024. It is now read-only.

Commit f76c4bb

Browse files
committed
(maint) Update rubocop to 0.80.1
1 parent 42bd7cc commit f76c4bb

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.rubocop.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ Style/SymbolProc:
7878
Style/HashSyntax:
7979
Enabled: false
8080

81-
Layout/AlignHash:
81+
Layout/HashAlignment:
8282
EnforcedHashRocketStyle: table
8383

8484
Naming/RescuedExceptionsVariableName:

Gemfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ group :development do
1010
gem "rubocop", "<= 0.57.2", :require => false, :platforms => [:ruby, :x64_mingw]
1111
gem 'rake', '~> 12.3', :require => false
1212
else
13-
gem "rubocop", ">= 0.60.0", :require => false, :platforms => [:ruby, :x64_mingw]
13+
gem "rubocop", ">= 0.80.1", :require => false, :platforms => [:ruby, :x64_mingw]
1414
gem 'rake', '>= 10.4', :require => false
1515
end
1616
end

lib/puppetfile-resolver/spec_searchers/local.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ def self.find_all(_puppetfile_module, puppet_module_paths, dependency, cache, re
2424
metadata = ::PuppetfileResolver::Util.symbolise_object(
2525
::JSON.parse(File.open(metadata_file, 'rb:utf-8') { |f| f.read })
2626
)
27-
rescue StandardError => _e # rubocop:disable Lint/HandleExceptions Todo
27+
rescue StandardError => _e # rubocop:disable Lint/SuppressedException Todo
2828
# TODO: Should really do something?
2929
end
3030
resolver_ui.debug { "Found local module at #{metadata_file}" }

0 commit comments

Comments
 (0)