Fixes a typo

This commit is contained in:
erwanlr
2015-01-08 22:53:14 +01:00
parent 71fdef45c9
commit 6221601376

View File

@@ -120,7 +120,7 @@ class WpVersion < WpItem
pattern = /ver=([0-9\.]+)/i
Nokogiri::HTML(Browser.get(target_uri.to_s).body).css('link,script').each do |tag|
%w(herf src).each do |attribute|
%w(href src).each do |attribute|
attr_value = tag.attribute(attribute).to_s
next if attr_value.nil? || attr_value.empty?