diff --git a/Gemfile.lock b/Gemfile.lock index 13f5deade..5a636afbb 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -257,7 +257,7 @@ GEM rexml ruby-progressbar (~> 1.7) unicode-display_width (>= 1.4.0, < 1.7) - rubocop-govuk (3.1.0) + rubocop-govuk (3.3.0) rubocop (= 0.80.1) rubocop-rails (~> 2) rubocop-rspec (~> 1.28) diff --git a/lib/helpers/wraith_config_helper.rb b/lib/helpers/wraith_config_helper.rb index 0578f6b68..e18066cdc 100644 --- a/lib/helpers/wraith_config_helper.rb +++ b/lib/helpers/wraith_config_helper.rb @@ -27,7 +27,7 @@ def build_paths config_paths = {} if @paths.is_a? Hash - @paths.keys.each do |key| + @paths.each_key do |key| @paths.fetch(key).each_with_index do |path, index| config_paths[path_index(key, index + 1)] = path end