Merge pull request #279 from olleolleolle/feature/negative-options
Rake task: Be able to set false value in config
This commit is contained in:
commit
fe0eab1c90
|
@ -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