mirror of
https://github.com/sourcegraph/sourcegraph.git
synced 2026-02-06 17:31:43 +00:00
fix(analytics): fix broken v1 codeintel event logging (#63449)
Codeintel v1 telemetry/event logging was broken in https://github.com/sourcegraph/sourcegraph/pull/62586 due to the lack of parens around a ternary operator. This simply fixes that issue. ## Test plan CI ## Changelog Co-authored-by: Dan Adler <5589410+dadlerj@users.noreply.github.com>
This commit is contained in:
parent
e8742bcf9c
commit
5413fd1fd4
@ -63,7 +63,7 @@ export class TelemetryEmitter {
|
||||
}
|
||||
|
||||
try {
|
||||
sourcegraph.logTelemetryEvent(`codeintel.${action + xrepo ? '.xrepo' : ''}`, {
|
||||
sourcegraph.logTelemetryEvent(`codeintel.${action + (xrepo ? '.xrepo' : '')}`, {
|
||||
...args,
|
||||
durationMs: this.elapsed(),
|
||||
languageId: this.languageID,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user