fix analyzeMeta duplicate line (#2096)

in analyzeMeta function the r const is declared but never used and in next if is the same code.
main
TotPeRo 7 years ago committed by Elbert Alias
parent 1c64985ffc
commit c5bb9bc12c

@ -450,7 +450,7 @@ class Wappalyzer {
const r = new RegExp('(?:name|property)=["\']' + meta + '["\']', 'i');
if ( new RegExp('(?:name|property)=["\']' + meta + '["\']', 'i').test(matches[0]) ) {
if (r.test(matches[0]) ) {
content = matches[0].match(/content=("|')([^"']+)("|')/i);
patterns[meta].forEach(pattern => {