minor fix...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2020-08-02 08:03:31 +03:00
parent 36eb0499f2
commit 979d8cb5bb
2 changed files with 9 additions and 7 deletions

View File

@ -1,6 +1,6 @@
{ {
"name": "ig-object", "name": "ig-object",
"version": "5.0.14", "version": "5.0.15",
"description": "", "description": "",
"main": "object.js", "main": "object.js",
"scripts": { "scripts": {
@ -26,8 +26,8 @@
}, },
"homepage": "https://github.com/flynx/object.js#readme", "homepage": "https://github.com/flynx/object.js#readme",
"devDependencies": { "devDependencies": {
"c8": "*", "c8": "^7.2.1",
"colors": "^1.4.0", "colors": "^1.4.0",
"ig-argv": "^2.2.2" "ig-argv": "^2.10.3"
} }
} }

10
test.js
View File

@ -930,8 +930,8 @@ if(typeof(__filename) != 'undefined'
'run "example" test in verbose mode.'.gray], 'run "example" test in verbose mode.'.gray],
['$ ./$SCRIPTNAME native:gen3:methods init:gen3:methods', ['$ ./$SCRIPTNAME native:gen3:methods init:gen3:methods',
'run two tests/patterns.'.gray], 'run two tests/patterns.'.gray],
['$ export VERBOSE=1 && ./$SCRIPTNAME', //['$ export VERBOSE=1 && ./$SCRIPTNAME',
'set verbose mode globally and run tests.'.gray], // 'set verbose mode globally and run tests.'.gray],
], ],
// options... // options...
@ -966,9 +966,11 @@ if(typeof(__filename) != 'undefined'
'-verbose': { '-verbose': {
doc: 'verbose mode', doc: 'verbose mode',
env: 'VERBOSE', //env: 'VERBOSE',
handler: function(){ handler: function(){
module.VERBOSE = true }}, module.VERBOSE = true }
},
'-quiet': undefined,
'@*': undefined, '@*': undefined,
}) })