mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-04 17:23:45 -05:00
Fix more floating promises (#8374)
* Fix more floating promises * Fix a few more * Test fixes * Fix spellings * More promise fixes * couple more * Few more fixes * One more missed one
This commit is contained in:
@@ -139,7 +139,7 @@ export interface IProfilerService {
|
||||
* Saves the filter
|
||||
* @param filter filter object
|
||||
*/
|
||||
saveFilter(filter: ProfilerFilter): void;
|
||||
saveFilter(filter: ProfilerFilter): Promise<void>;
|
||||
}
|
||||
|
||||
export interface IProfilerSettings {
|
||||
|
||||
@@ -245,8 +245,8 @@ export class ProfilerService implements IProfilerService {
|
||||
return config;
|
||||
}
|
||||
|
||||
public saveFilter(filter: ProfilerFilter): void {
|
||||
public async saveFilter(filter: ProfilerFilter): Promise<void> {
|
||||
const config = [filter];
|
||||
this._configurationService.updateValue(PROFILER_FILTER_SETTINGS, config, ConfigurationTarget.USER);
|
||||
await this._configurationService.updateValue(PROFILER_FILTER_SETTINGS, config, ConfigurationTarget.USER);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user