lib/govuk/lint/cli.rb in govuk-lint-1.2.1 vs lib/govuk/lint/cli.rb in govuk-lint-2.0.0

- old
+ new

@@ -6,15 +6,16 @@ module Govuk module Lint class CLI < RuboCop::CLI def run(args = ARGV) - args += ["--config", - ConfigFile.new.config_file_path, - "--display-cop-names", - "--extra-details", - "--display-style-guide", - ] + args += [ + "--config", + ConfigFile.new.config_file_path, + "--display-cop-names", + "--extra-details", + "--display-style-guide", + ] Diff.enable!(args) if args.include? "--diff" super(args) end