Skip to content

Commit

Permalink
add double splat for configuration_option method's options
Browse files Browse the repository at this point in the history
  • Loading branch information
vbargsten committed Dec 22, 2023
1 parent 41835f1 commit 9091e08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/autoproj/options.rb
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def self.user_config(key)
end

# @deprecated use config.declare(name, type, options, &validator) instead
def self.configuration_option(name, type, options, &validator)
def self.configuration_option(name, type, **options, &validator)
Autoproj.warn_deprecated __method__, "use the API on Autoproj.config (from Autoproj::Configuration) instead"
config.declare(name, type, **options, &validator)
end
Expand Down

0 comments on commit 9091e08

Please sign in to comment.