Skip to content

Commit

Permalink
Merge pull request #662 from knupska/mutated-options
Browse files Browse the repository at this point in the history
Avoiding global options mutation
  • Loading branch information
Jeff Escalante committed Oct 28, 2015
2 parents 5d4afcd + 5554554 commit 59fb83a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/compiler.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -370,7 +370,7 @@ class CompilePass
file_options = @file.file_options
compile_options = @file.compile_options

_.extend(global_options, adapter_options, file_options, compile_options)
_.extend({}, global_options, adapter_options, file_options, compile_options)

###*
* As small of a function as this is, it's the one that actually is doing
Expand Down

0 comments on commit 59fb83a

Please sign in to comment.