Skip to content
Myr

Comment out new misuse check until a major version (#2026)

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by John Gee · committed by GitHub · parent 96c6c25 · Browse files · 2 files+10 added−10 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

2 files+10 added−10 removed

  • tests:+7 added−7 removed
  • other:+3 added−3 removed

2 files+10 added−10 removed

modified:lib/command.js+3 added-3 removed
749 unmodified lines
750 storeOptionsAsProperties(storeAsProperties = true) {751 if (this.options.length) {752 throw new Error('call .storeOptionsAsProperties() before adding options');753 }754 if (Object.keys(this._optionValues).length) {755 throw new Error('call .storeOptionsAsProperties() before setting option values');756 }754 // if (Object.keys(this._optionValues).length) {755 // throw new Error('call .storeOptionsAsProperties() before setting option values');756 // }757 this._storeOptionsAsProperties = !!storeAsProperties;758 return this;759 }760
1419 unmodified lines
modified:tests/commander.configureCommand.test.js+7 added-7 removed