filter-tags - Remove unused index.

This commit is contained in:
soundstep 2016-01-22 13:34:24 +00:00
parent 40dec5346b
commit a676650993

View File

@ -74,7 +74,7 @@ module GitHubChangelogGenerator
if @options[:filter_tags]
body_new = []
reg = Regexp.new @options[:filter_tags]
page.body.each_with_index do |tag,index|
page.body.each do |tag|
if !(tag.name =~ reg)
body_new << tag
end