Port env to js

main
Elbert Alias 7 years ago
parent 996c72d0fa
commit 4177bfbfaf

@ -6,7 +6,7 @@ set -eu
echo "Validating apps.json..."
jsonlint-cli -s schema.json src/apps.json
jsonlint-cli -tps schema.json src/apps.json > /tmp/apps.json && mv /tmp/apps.json src/apps.json
echo "Validating regular expressions..."

@ -35,9 +35,9 @@
},
"required": true
},
"env": {
"type": [ "string", "array" ],
"items": {
"js": {
"type": "object",
"additionalProperties": {
"type": "string"
}
},

File diff suppressed because it is too large Load Diff

@ -127,8 +127,6 @@ class Driver {
const scripts = this.getScripts(browser);
const js = this.getJs(browser);
console.log(js);
this.wappalyzer.analyze(pageUrl.hostname, pageUrl.href, {
headers,
html,