This commit is contained in:
mde
2020-04-19 14:08:52 -07:00
parent a26db5486f
commit 78aff10607
2 changed files with 6 additions and 2 deletions

View File

@@ -4,6 +4,10 @@
"commonjs": true,
"node": true
},
"globals": {
"suite": "readonly",
"test": "readonly"
},
"parserOptions": {
"ecmaVersion": 6
},

View File

@@ -143,10 +143,10 @@ function run() {
// Read the data from any data file
if (pOpts['data-file']) {
vals = JSON.parse(fs.readFileSync(pOpts['data-file']).toString())
vals = JSON.parse(fs.readFileSync(pOpts['data-file']).toString());
}
// Override / set any values passed from the command line
for (p in pVals) {
for (let p in pVals) {
vals[p] = pVals[p];
}