(
scope: SettingScope,
key: K,
value: Settings[K],
)
| 146 | } |
| 147 | |
| 148 | setValue<K extends keyof Settings>( |
| 149 | scope: SettingScope, |
| 150 | key: K, |
| 151 | value: Settings[K], |
| 152 | ): void { |
| 153 | const settingsFile = this.forScope(scope); |
| 154 | settingsFile.settings[key] = value; |
| 155 | this._merged = this.computeMergedSettings(); |
| 156 | saveSettings(settingsFile); |
| 157 | } |
| 158 | } |
| 159 | |
| 160 | function resolveEnvVarsInString(value: string): string { |
no test coverage detected