mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-16 17:22:29 -05:00
This reverts commit 756f77063a.
This commit is contained in:
@@ -17,8 +17,13 @@ export class TestConfigurationService implements IConfigurationService {
|
||||
return Promise.resolve(this.getValue());
|
||||
}
|
||||
|
||||
public getValue(arg1?: any): any {
|
||||
return getConfigurationValue(this.configuration.user, arg1);
|
||||
public getValue(arg1?: any, arg2?: any): any {
|
||||
let configuration;
|
||||
configuration = configuration ? configuration : this.configuration;
|
||||
if (arg1 && typeof arg1 === 'string') {
|
||||
return getConfigurationValue(configuration, arg1);
|
||||
}
|
||||
return configuration;
|
||||
}
|
||||
|
||||
public updateValue(key: string, value: any, target?: any): Promise<void> {
|
||||
|
||||
Reference in New Issue
Block a user