Skip to content

Commit

Permalink
Removed console.log and formatted code
Browse files Browse the repository at this point in the history
  • Loading branch information
PauliusJaskutelis committed Mar 5, 2025
1 parent bf95077 commit 66203a4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/utils/telemetry.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import TelemetryReporter from "@vscode/extension-telemetry";

Check failure on line 1 in src/utils/telemetry.ts

View workflow job for this annotation

GitHub Actions / test (ubuntu-latest)

Cannot find module '@vscode/extension-telemetry' or its corresponding type declarations.

Check failure on line 1 in src/utils/telemetry.ts

View workflow job for this annotation

GitHub Actions / test (macos-latest)

Cannot find module '@vscode/extension-telemetry' or its corresponding type declarations.
import * as vscode from "vscode";

export class Telemetry {
private static instance: TelemetryReporter;
private static treeSitterErrors: number = 0;
Expand Down Expand Up @@ -83,7 +84,7 @@ export class Telemetry {
public static sendExtensionSettings(): void {
const configuration = vscode.workspace.getConfiguration("AblFormatter");
const settings = configuration.inspect("");
console.log("Sending Extension Settings", configuration);

if (settings) {
Telemetry.instance.sendTelemetryEvent(
"ExtensionSettings",
Expand Down

0 comments on commit 66203a4

Please sign in to comment.