From 502ae431b75c7105a80d255525c2ec4c58004657 Mon Sep 17 00:00:00 2001 From: Petr Korolev Date: Fri, 7 Nov 2014 18:24:02 +0200 Subject: [PATCH] fix typo! --- lib/github_changelog_generator.rb | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/lib/github_changelog_generator.rb b/lib/github_changelog_generator.rb index 4ed93e6..4afae76 100755 --- a/lib/github_changelog_generator.rb +++ b/lib/github_changelog_generator.rb @@ -234,23 +234,23 @@ class ChangelogGenerator if issues issues.each { |dict| is_bug = false - is_enchantment = false + is_enhancement = false dict.labels.each { |label| if label.name == 'bug' is_bug = true end - if label.name == 'enchantment' - is_enchantment = true + if label.name == 'enhancement' + is_enhancement = true end } - intro = 'Fixed issue' + intro = 'Closed issue' if is_bug intro = 'Fixed bug' end - if is_enchantment - intro = 'Implemented enchantment' + if is_enhancement + intro = 'Implemented enhancement' end merge = "*#{intro}:* #{dict[:title]} [\\##{dict[:number]}](https://github.com/#{@options[:user]}/#{@options[:project]}/issues/#{dict[:number]})\n\n"