Commit 7fd59b89 authored by Piotr Skorupa's avatar Piotr Skorupa

Fix warnings for UsageMetricDefinitionGenerator

parent 6b58586e
......@@ -84,6 +84,7 @@ module Gitlab
# Rake tasks ignore the eager loading settings, so we need to set the
# autoload paths explicitly
config.autoload_paths = config.eager_load_paths.dup
config.autoload_paths.push("#{config.root}/lib/generators") if Rails.env.development?
# Only load the plugins named here, in the order given (default is alphabetical).
# :all can be used as a placeholder for all plugins not explicitly named.
......
# frozen_string_literal: true
require 'rails/generators'
require_relative '../usage_metric_definition_generator'
module Gitlab
module UsageMetricDefinition
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment