mirror of
https://github.com/CryptKeeperZK/ejs.git
synced 2026-01-07 22:53:52 -05:00
Linting
This commit is contained in:
@@ -4,6 +4,10 @@
|
||||
"commonjs": true,
|
||||
"node": true
|
||||
},
|
||||
"globals": {
|
||||
"suite": "readonly",
|
||||
"test": "readonly"
|
||||
},
|
||||
"parserOptions": {
|
||||
"ecmaVersion": 6
|
||||
},
|
||||
|
||||
@@ -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];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user