Fix #328
This commit is contained in:
parent
259105f265
commit
73cba095b2
|
@ -58,7 +58,7 @@ module GitHubChangelogGenerator
|
||||||
if @since_tag.nil? && @options[:base] && File.file?(@options[:base])
|
if @since_tag.nil? && @options[:base] && File.file?(@options[:base])
|
||||||
reader = GitHubChangelogGenerator::Reader.new
|
reader = GitHubChangelogGenerator::Reader.new
|
||||||
content = reader.read(@options[:base])
|
content = reader.read(@options[:base])
|
||||||
@since_tag = content[0]["version"] if content
|
@since_tag = content[0]["version"] if content.count && content
|
||||||
end
|
end
|
||||||
@since_tag
|
@since_tag
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue
Block a user