Rake task: Be able to set false value in config
This commit is contained in:
parent
12ea21c00b
commit
14d7c29808
|
@ -51,7 +51,7 @@ module GitHubChangelogGenerator
|
|||
|
||||
OPTIONS.each do |o|
|
||||
v = instance_variable_get("@#{o}")
|
||||
options[o.to_sym] = v if v
|
||||
options[o.to_sym] = v unless v.nil?
|
||||
end
|
||||
|
||||
generator = Generator.new options
|
||||
|
|
Loading…
Reference in New Issue
Block a user