diff --git a/lib/github_changelog_generator/task.rb b/lib/github_changelog_generator/task.rb index 1e43a40..7ce2ecf 100644 --- a/lib/github_changelog_generator/task.rb +++ b/lib/github_changelog_generator/task.rb @@ -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