single command line argument not working

Create issue
Issue #2 resolved
Paul Tod 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