Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix the value of
$0
in the cli module.
`process.argv[0]` is likely never going to equal exactly “node” since it should be the full path to the node binary running the program. Therefore we need to check that the basename is “node” and move on to `argv[1]` if that’s the case.
- Loading branch information