Skip to content

Commit

Permalink
Fix deprecation warning on linter.rb (#1364)
Browse files Browse the repository at this point in the history
  • Loading branch information
RicardoTrindade authored and composerinteralia committed Jan 10, 2020
1 parent 6fddc45 commit 7f2a405
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/factory_bot.rb
Expand Up @@ -71,7 +71,7 @@ def self.reset_configuration
def self.lint(*args)
options = args.extract_options!
factories_to_lint = args[0] || FactoryBot.factories
Linter.new(factories_to_lint, options).lint!
Linter.new(factories_to_lint, **options).lint!
end

class << self
Expand Down

0 comments on commit 7f2a405

Please sign in to comment.