Fix: Error in previous fix
This commit is contained in:
parent
e5e1eeec8a
commit
ddef1d82dc
2
opter.js
2
opter.js
|
|
@ -82,7 +82,7 @@ module.exports = class Opts {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (name in this.opts) {
|
if (name in this.opts) {
|
||||||
checkArgs(this.opts[name]);
|
checkArgs(name);
|
||||||
}
|
}
|
||||||
if (name in this.synonyms) {
|
if (name in this.synonyms) {
|
||||||
const syn = this.synonyms[name].filter(s => s in this.opts )[0];
|
const syn = this.synonyms[name].filter(s => s in this.opts )[0];
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue