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 b6ef1e1 commit d0d2c5eCopy full SHA for d0d2c5e
lib/command.js
@@ -12,8 +12,6 @@ const { suggestSimilar } = require('./suggestSimilar');
12
13
// @ts-check
14
15
-const PRODUCTION = process.env.NODE_ENV === 'production';
16
-
17
class Command extends EventEmitter {
18
/**
19
* Initialize a new `Command`.
@@ -2092,7 +2090,7 @@ Expecting one of '${allowedValues.join("', '")}'`);
2092
2090
*/
2093
2091
2094
_checkForObscuredHelpOption(makeMessage) {
2095
- if (!PRODUCTION && this._hasHelpOption) {
+ if (this._hasHelpOption) {
2096
const shortMatchingOption = this._helpOption.short &&
2097
this._findOption(this._helpOption.short);
2098
if (shortMatchingOption || !this._helpOption.short) {
0 commit comments