Fix the syntax ambiguity on credit-line-bug (#537)
* fix a syntax ambiguity
This commit is contained in:
parent
fb7e21f9f8
commit
d0e7593e98
|
@ -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}" if log.include? credit_line == false
|
||||
log += "\n\n\#{credit_line}" unless log.include?(credit_line)
|
||||
@log = log
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user