Skip to content
Browse files

wasn't merging in extra options oops, thanks @gavin

  • Loading branch information...
1 parent 5e1c547 commit fd90ae0934c9ee31d9746a08f723f615fbce91e4 Philip (flip) Kromer committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/wukong/script.rb
View
2 lib/wukong/script.rb
@@ -128,7 +128,7 @@ class Script
def initialize mapper, reducer=nil, extra_options={}
Settings.resolve!
@options = Settings
- options.merge extra_options
+ options.merge! extra_options
@mapper = (case mapper when Class then mapper.new when nil then nil else mapper ; end)
@reducer = (case reducer when Class then reducer.new when nil then nil else reducer ; end)
@output_path = options.rest.pop

0 comments on commit fd90ae0

Please sign in to comment.
Something went wrong with that request. Please try again.