Skip to content

Commit 6295bf5

Browse files
committed
fix: typescript error in AppConfig
1 parent ea807ca commit 6295bf5

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

src/adapters/config/AppConfig.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ export class AppConfig {
6464
// static getSecret(secretKey:string): string {}
6565

6666

67-
/** sets `"path": "value"` to config, specifically, to `appConfig.path`
67+
/** sets `{"path": "value"}` to config, specifically, to `appConfig.path`
6868
* Note this does not actually change the values in the file, but only in
6969
* the in-memory "cache"
7070
* @param path the path to the key in appConfig. Do not use `{}:.;` in the key name,
@@ -73,7 +73,6 @@ export class AppConfig {
7373
* `appConfig`
7474
*/
7575
static set(path:string, value: string): void {
76-
config.appConfig[path]=value
77-
// AppConfig._sVariables[path] = variable
76+
config['appConfig'][path] = value
7877
}
7978
}

0 commit comments

Comments
 (0)