lib/govuk/lint/cli.rb in govuk-lint-3.11.2 vs lib/govuk/lint/cli.rb in govuk-lint-3.11.3

- old
+ new

@@ -6,12 +6,14 @@ module Govuk module Lint class CLI < RuboCop::CLI def run(args = ARGV) + config = ConfigFile.new + args += [ "--config", - ConfigFile.new.config_file_path, + config.config_file_path, ] Diff.enable!(args) if args.include? "--diff" super(args)