Skip to content

Commit

Permalink
lint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewyuq committed Oct 10, 2024
1 parent e7057db commit d802780
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/src/codewhisperer/util/telemetryHelper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@ export class TelemetryHelper {
// When we send a userTriggerDecision for neither Accept nor Reject, service side should not use this value
// and client side will set this value to 0.0.
let e2eLatency = session.firstSuggestionShowTime - session.invokeSuggestionStartTime
if (aggregatedSuggestionState != 'Reject' && aggregatedSuggestionState != 'Accept') {
if (aggregatedSuggestionState !== 'Reject' && aggregatedSuggestionState !== 'Accept') {
e2eLatency = 0.0
}

Expand Down

0 comments on commit d802780

Please sign in to comment.