diff --git a/src/drivers/npm/driver.js b/src/drivers/npm/driver.js index cc55549dd..ef7569b17 100644 --- a/src/drivers/npm/driver.js +++ b/src/drivers/npm/driver.js @@ -53,8 +53,6 @@ const driver = { }); }); - console.log('resolve ' + url); - resolve(apps); }; diff --git a/src/wappalyzer.js b/src/wappalyzer.js index dbc97610b..093f1b0bb 100644 --- a/src/wappalyzer.js +++ b/src/wappalyzer.js @@ -300,7 +300,9 @@ class Wappalyzer { * Cache detected applications */ cacheDetectedApps(apps, url) { - if (!this.driver.ping instanceof Function) return; + if ( !( this.driver.ping instanceof Function ) ) { + return; + } Object.keys(apps).forEach(appName => { var app = apps[appName]; @@ -320,7 +322,9 @@ class Wappalyzer { * Track detected applications */ trackDetectedApps(apps, url, hostname, html) { - if (!this.driver.ping instanceof Function) return; + if ( !( this.driver.ping instanceof Function ) ) { + return; + } Object.keys(apps).forEach(appName => { var app = apps[appName];