This repository has been archived by the owner on Jul 15, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 645
telemetry.ts: send telemetry only if aiKey is not empty #3091
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Change-Id: I7157be16784884cb2b6f5ad1a4f82846cba642c6
LGTM - thanks! |
stamblerre
approved these changes
Mar 6, 2020
ramya-rao-a
reviewed
Mar 6, 2020
@@ -183,6 +183,9 @@ function sendTelemetryEvent( | |||
properties?: { [key: string]: string }, | |||
measures?: { [key: string]: number } | |||
): void { | |||
if (!aiKey) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The aiKey
is initialized in line 12 and is a constant.
Therefore, in its current state, the extension will not reach a state where this will be empty..
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
golang/vscode-go@ada0858#diff-499709399145585d79806a7415935b15L12 is the reasoning behind this.
ramya-rao-a
approved these changes
Mar 11, 2020
hyangah
added a commit
to hyangah/vscode-go-old
that referenced
this pull request
Mar 19, 2020
Sync @ 7da5077 * master: Address mismatch on path separators in debug config (microsoft#2010) (microsoft#3108) Include the link to release note/package overview in the update prompt, and update gopls default version (microsoft#3041) bug_report.md: Fix "architecture" typo. (microsoft#3095) telemetry.ts: send telemetry only if aiKey is not an empty string(microsoft#3091)
gopherbot
referenced
this pull request
in golang/vscode-go
Mar 20, 2020
Merge 'microsoft/vscode-go/master' into 'golang/vscode-go/master' Sync @ 7da5077 * master: Address mismatch on path separators in debug config (#2010) (#3108) Include the link to release note/package overview in the update prompt, and update gopls default version (#3041) bug_report.md: Fix "architecture" typo. (#3095) telemetry.ts: send telemetry only if aiKey is not an empty string(#3091) Change-Id: I727ef0ed3b8d1ad926e26831534c153b06070e64 GitHub-Last-Rev: d11e342 GitHub-Pull-Request: #11 Reviewed-on: https://go-review.googlesource.com/c/vscode-go/+/224239 Reviewed-by: Hyang-Ah Hana Kim <[email protected]>
hyangah
added a commit
to hyangah/vscode-go-old
that referenced
this pull request
Mar 20, 2020
* master: goLanguageServer: set completion follow up command from middleware (microsoft#3084) Add stacktrace dump and better error messages on EXC_BAD_ACCESS panics (microsoft#2904) Address mismatch on path separators in debug config (microsoft#2010) (microsoft#3108) Include the link to release note/package overview in the update prompt, and update gopls default version (microsoft#3041) bug_report.md: Fix "architecture" typo. (microsoft#3095) telemetry.ts: send telemetry only if aiKey is not an empty string(microsoft#3091)
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Change-Id: I7157be16784884cb2b6f5ad1a4f82846cba642c6