Bump packages to fix linter

This commit is contained in:
Henry Mercer 2023-01-18 20:50:03 +00:00
parent ed9506bbaf
commit 0a11e3fdd9
6063 changed files with 378752 additions and 306784 deletions

View file

@ -667,7 +667,11 @@ export class YargsInstance {
this.skipValidation(key);
}
const desc = opt.describe || opt.description || opt.desc;
this.describe(key, desc);
const descriptions = __classPrivateFieldGet(this, _YargsInstance_usage, "f").getDescriptions();
if (!Object.prototype.hasOwnProperty.call(descriptions, key) ||
typeof desc === 'string') {
this.describe(key, desc);
}
if (opt.hidden) {
this.hide(key);
}