Skip to content

Commit

Permalink
Process model_dir in rake task, #197
Browse files Browse the repository at this point in the history
  • Loading branch information
cuong-now committed Jun 23, 2014
1 parent 4107fc7 commit dafd953
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/annotate.rb
Expand Up @@ -39,7 +39,7 @@ def self.set_defaults(options = {})
return if(@has_set_defaults)
@has_set_defaults = true
options = HashWithIndifferentAccess.new(options)
[POSITION_OPTIONS, FLAG_OPTIONS, PATH_OPTIONS].flatten.each do |key|
[POSITION_OPTIONS, FLAG_OPTIONS, PATH_OPTIONS, OTHER_OPTIONS].flatten.each do |key|
if(options.has_key?(key))
default_value = if(options[key].is_a?(Array))
options[key].join(",")
Expand Down

0 comments on commit dafd953

Please sign in to comment.