mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-07 17:23:56 -05:00
Fix more floating promises (#8460)
This commit is contained in:
@@ -64,9 +64,8 @@ export class InsightAction extends Action {
|
||||
super(id, label);
|
||||
}
|
||||
|
||||
run(actionContext: InsightActionContext): Promise<boolean> {
|
||||
this._insightsDialogService.show(actionContext.insight, actionContext.profile);
|
||||
return Promise.resolve(true);
|
||||
async run(actionContext: InsightActionContext): Promise<void> {
|
||||
await this._insightsDialogService.show(actionContext.insight, actionContext.profile);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user