filter-tags - Remove unused index.
This commit is contained in:
parent
40dec5346b
commit
a676650993
|
@ -74,7 +74,7 @@ module GitHubChangelogGenerator
|
||||||
if @options[:filter_tags]
|
if @options[:filter_tags]
|
||||||
body_new = []
|
body_new = []
|
||||||
reg = Regexp.new @options[:filter_tags]
|
reg = Regexp.new @options[:filter_tags]
|
||||||
page.body.each_with_index do |tag,index|
|
page.body.each do |tag|
|
||||||
if !(tag.name =~ reg)
|
if !(tag.name =~ reg)
|
||||||
body_new << tag
|
body_new << tag
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue
Block a user