Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Pretend that the file calling Yargs is the one that was invoked, even if it was not. This way the Yargs configuration will always be loaded from package.json. Signed-off-by: Kevin Locke <kevin@kevinlocke.name>
- Loading branch information
cac8a72
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
don't believe this works in the latest version of yargs.
See also: yargs/yargs#828
cac8a72
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@bennettellis It works for me with yargs 7.0.2.
For example, appveyor-status uses it. You can try commenting it out to observe the tests for that project failing.