Issue #2 resolved

single command line argument not working

waterishail
created an issue

If I do not provide any arguments but a value e.g. node --debug-brk myapp.js "someurl" I get an error

TypeError: Object true has no method 'shift' at Object.parse (/myapp/lib/opts.js:186:26)

If I insert params = []; at line 103 so that params is recast to an array this appears to fix the issue

Comments (1)

  1. Log in to comment