Compare commits

...

2 Commits

Author SHA1 Message Date
Derrick Hammer f69a12fb52
*Update dist 2022-12-19 11:35:45 -05:00
Derrick Hammer e535abd2ff
*Need to use the _ property 2022-12-19 11:35:24 -05:00
2 changed files with 2 additions and 2 deletions

2
dist/index.js vendored
View File

@ -331,7 +331,7 @@ class Config {
return value * 1024 * 1024;
}
parseArg(args) {
for (let key in args) {
for (let key in args._) {
let newKey = key.replace("-", "");
object_path_1.default.set(this.data, newKey, args[key]);
}

View File

@ -435,7 +435,7 @@ export default class Config {
}
public parseArg(args: arg.Result<any>) {
for (let key in args) {
for (let key in args._) {
let newKey = key.replace("-", "");
objectPath.set(this.data, newKey, args[key]);
}