*Need to use the _ property
This commit is contained in:
parent
257e053f9f
commit
e535abd2ff
|
@ -435,7 +435,7 @@ export default class Config {
|
||||||
}
|
}
|
||||||
|
|
||||||
public parseArg(args: arg.Result<any>) {
|
public parseArg(args: arg.Result<any>) {
|
||||||
for (let key in args) {
|
for (let key in args._) {
|
||||||
let newKey = key.replace("-", "");
|
let newKey = key.replace("-", "");
|
||||||
objectPath.set(this.data, newKey, args[key]);
|
objectPath.set(this.data, newKey, args[key]);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue