Compare commits
2 Commits
257e053f9f
...
f69a12fb52
Author | SHA1 | Date |
---|---|---|
Derrick Hammer | f69a12fb52 | |
Derrick Hammer | e535abd2ff |
|
@ -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]);
|
||||
}
|
||||
|
|
|
@ -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]);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue