Skip to content

Commit 18f7271

Browse files
author
Benjamin Pasero
committed
💄
1 parent 4302deb commit 18f7271

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

src/vs/workbench/services/notification/common/notificationService.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,6 @@ export class NotificationService extends Disposable implements INotificationServ
5555
}
5656

5757
prompt(severity: Severity, message: string, choices: IPromptChoice[], onCancel?: () => void): INotificationHandle {
58-
let handle: INotificationHandle;
5958

6059
// Convert choices into primary/secondary actions
6160
const actions: INotificationActions = { primary: [], secondary: [] };
@@ -69,7 +68,7 @@ export class NotificationService extends Disposable implements INotificationServ
6968
});
7069

7170
// Show notification with actions
72-
handle = this.notify({ severity, message, actions });
71+
const handle = this.notify({ severity, message, actions });
7372

7473
once(handle.onDidClose)(() => {
7574

0 commit comments

Comments
 (0)