This commit is contained in:
Billy.Zheng 2023-03-09 12:41:40 +08:00
parent e2528d93dd
commit 239f64c278

View file

@ -14,7 +14,7 @@ module Ameba::Cli
raise "Invalid usage: Cannot explain an issue and autocorrect at the same time."
end
config = Config.load path: opts.config, colors: opts.colors?, skip_reading_config: opts.skip_reading_config?
config = Config.load opts.config, opts.colors?, opts.skip_reading_config?
config.autocorrect = autocorrect
if globs = opts.globs