We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b2a4f87 commit 4a4c1d5Copy full SHA for 4a4c1d5
Readme.md
@@ -671,7 +671,7 @@ You can execute custom actions by listening to command and option events.
671
672
```js
673
program.on('option:verbose', function () {
674
- process.env.VERBOSE = this.verbose;
+ process.env.VERBOSE = this.opts().verbose;
675
});
676
677
program.on('command:*', function (operands) {
0 commit comments