Loading lib/labkit/covered_experience/registry.rb +1 −1 Original line number Diff line number Diff line Loading @@ -81,7 +81,7 @@ module Labkit def experience_definitions @experience_definitions ||= directory_path.glob('*.yml').each_with_object({}) do |file_path, hash| directory_path.glob('*.yml').each_with_object({}) do |file_path, hash| # rubocop:disable Rails/IndexBy hash[file_path.basename('.yml').to_s] = file_path end end Loading Loading
lib/labkit/covered_experience/registry.rb +1 −1 Original line number Diff line number Diff line Loading @@ -81,7 +81,7 @@ module Labkit def experience_definitions @experience_definitions ||= directory_path.glob('*.yml').each_with_object({}) do |file_path, hash| directory_path.glob('*.yml').each_with_object({}) do |file_path, hash| # rubocop:disable Rails/IndexBy hash[file_path.basename('.yml').to_s] = file_path end end Loading