Skip to content

Commit 6baf15f

Browse files
fix: correct check for when to fire events
Co-authored-by: atlassian[bot] <40802693+atlassian[bot]@users.noreply.github.com>
1 parent faed6ad commit 6baf15f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/rovo-dev/rovoDevTelemetryProvider.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ export class RovoDevTelemetryProvider {
100100
async fireTelemetryEvent(event: TelemetryEvent): Promise<void> {
101101
const eventId = `${event.subject}_${event.action}`;
102102

103-
if (!this.hasValidMetadata(event, this.metadata) && !this.canFire(eventId)) {
103+
if (!this.hasValidMetadata(event, this.metadata) || !this.canFire(eventId)) {
104104
return;
105105
}
106106

0 commit comments

Comments
 (0)