fix confidenceTotal (#2357)

main
Pascal Helbig 6 years ago committed by Elbert Alias
parent e6dfce8e1f
commit 366cab6b6c

@ -573,7 +573,7 @@ class Wappalyzer {
app.detected = true;
// Set confidence level
app.confidence[type + ' ' + ( key ? key + ' ' : '' ) + pattern.regex] = pattern.confidence === undefined ? 100 : pattern.confidence;
app.confidence[type + ' ' + ( key ? key + ' ' : '' ) + pattern.regex] = pattern.confidence === undefined ? 100 : parseInt(pattern.confidence);
// Detect version number
if ( pattern.version ) {

Loading…
Cancel
Save