Merge pull request #279 from olleolleolle/feature/negative-options

Rake task: Be able to set false value in config
This commit is contained in:
Petr Korolev 2015-09-15 09:04:25 +03:00
commit fe0eab1c90

View File

@ -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