Skip to content

Commit

Permalink
Add double splat to options argument
Browse files Browse the repository at this point in the history
  • Loading branch information
eherot committed Apr 28, 2015
1 parent 4b552d4 commit 740ab99
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/capistrano/dsl/chef.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
module Capistrano
module DSL
module Chef
def chef_role(name, query = '*:*', options)
def chef_role(name, query = '*:*', **options)
arg = options.delete(:attribute) || :ipaddress

search_proc = case arg
Expand Down

0 comments on commit 740ab99

Please sign in to comment.