Update generator_generation.rb (#542)

Fix the syntax so `credit_line` is recognizable as a variable. #541
This commit is contained in:
Lucas Huang 2017-06-28 07:55:42 -07:00 committed by Olle Jonsson
parent ee4c72c7aa
commit b21e7eaaf7

View File

@ -22,7 +22,7 @@ module GitHubChangelogGenerator
log += File.read(options[:base]) if File.file?(options[:base])
credit_line = "\* *This Change Log was automatically generated by [github_changelog_generator](https://github.com/skywinder/Github-Changelog-Generator)*"
log += "\n\n\#{credit_line}" unless log.include?(credit_line)
log += "\n\n#{credit_line}" unless log.include?(credit_line)
@log = log
end