Skip to content

Commit 5f27d72

Browse files
committed
💄
1 parent 5c31613 commit 5f27d72

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

src/notification.ts

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ import { UserFlowTelemetry } from './common/telemetry';
88
import TelemetryReporter from './telemetryReporter';
99

1010
export interface NotificationOption extends vscode.MessageOptions {
11-
id: string
12-
flow: UserFlowTelemetry
11+
id: string;
12+
flow: UserFlowTelemetry;
1313
}
1414

1515
export class NotificationService {
@@ -51,12 +51,11 @@ export class NotificationService {
5151
result = await cb();
5252
} finally {
5353
const duration = new Date().getTime() - startTime;
54-
const closed = result === undefined || (typeof result === 'object' && result.isCloseAffordance == true);
54+
const closed = result === undefined || (typeof result === 'object' && result.isCloseAffordance === true);
5555
const status = closed ? 'close_' + element : 'select_' + element + '_action';
5656
const action = typeof result === 'string' ? result : result?.title;
5757
this.telemetry.sendUserFlowStatus(status, { ...flowOptions, action, duration });
5858
}
5959
return result;
6060
}
61-
62-
}
61+
}

0 commit comments

Comments
 (0)