Fix: Refactoring of "Excludes rules" processing

Excludes rule should take care of detected apps only
main
Laurent Cherpit 11 years ago
parent 95f20e9715
commit 773a454303

@ -387,8 +387,11 @@ var wappalyzer = (function() {
if ( !apps[app].detected ) {
delete apps[app];
}
}
if ( w.apps[app].excludes ) {
// Exclude app in detected apps only
for ( app in apps ) {
if (w.apps[app].excludes ) {
if ( typeof w.apps[app].excludes === 'string' ) {
w.apps[app].excludes = [ w.apps[app].excludes ];
}

Loading…
Cancel
Save