We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a6bc772 + 9a3609a commit faa4a89Copy full SHA for faa4a89
1 file changed
bin/ncm-cli.js
@@ -43,7 +43,7 @@ async function main () {
43
})
44
45
46
- if(typeof argv.dir !== 'string'){
+ if(argv.dir && typeof argv.dir !== 'string'){
47
handleError('ERR_INVALID_ARG_TYPE: --dir or -d must to be a string')
48
}
49
0 commit comments