Update generator_generation.rb (#542)
Fix the syntax so `credit_line` is recognizable as a variable. #541
This commit is contained in:
parent
ee4c72c7aa
commit
b21e7eaaf7
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user