dthree / dthree/vantage

Command definition - when 0 is given as a argument, it's not recognized

Open
#69 0 comments 2 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
3.4k
Forks
108
PR merge metrics
No merged PRs in 30d

Description

```javascript
var cmd = this.server.command('use [apps]');

cmd.action(function(args, callback) {
args.apps === undefined // true !
callback();
});
```

The above applies for the console input:

> \> use 0

I'd expect `args.apps === 0`

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.