Verified Commit 784dfc10 authored by Hercules Merscher's avatar Hercules Merscher 🌴
Browse files

fix: Ignoring rubocop's Rails/IndexBy

parent fb9536e1
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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