From f83e4419f334831eb17b6d52c433f349dd0f3561 Mon Sep 17 00:00:00 2001 From: David Hasani Date: Fri, 8 Nov 2024 16:32:36 -0800 Subject: [PATCH] remove console.log statements --- packages/core/src/codewhisperer/client/codewhisperer.ts | 2 -- .../transformByQ/transformationResultsViewProvider.ts | 5 ----- 2 files changed, 7 deletions(-) diff --git a/packages/core/src/codewhisperer/client/codewhisperer.ts b/packages/core/src/codewhisperer/client/codewhisperer.ts index 392e7340b84..5104ef7ede0 100644 --- a/packages/core/src/codewhisperer/client/codewhisperer.ts +++ b/packages/core/src/codewhisperer/client/codewhisperer.ts @@ -258,9 +258,7 @@ export class DefaultCodeWhispererClient { if (!AuthUtil.instance.isValidEnterpriseSsoInUse() && !globals.telemetry.telemetryEnabled) { return } - console.log('about to make API call') const response = await (await this.createUserSdkClient()).sendTelemetryEvent(requestWithCommonFields).promise() - console.log('API call response =', response) getLogger().debug(`codewhisperer: sendTelemetryEvent requestID: ${response.$response.requestId}`) } diff --git a/packages/core/src/codewhisperer/service/transformByQ/transformationResultsViewProvider.ts b/packages/core/src/codewhisperer/service/transformByQ/transformationResultsViewProvider.ts index 79b31da450f..f20ef7576a3 100644 --- a/packages/core/src/codewhisperer/service/transformByQ/transformationResultsViewProvider.ts +++ b/packages/core/src/codewhisperer/service/transformByQ/transformationResultsViewProvider.ts @@ -408,11 +408,6 @@ export class ProposedTransformationExplorer { const metricsPath = path.join(pathContainingArchive, ExportResultArchiveStructure.PathToMetrics) const metricsData = JSON.parse(fs.readFileSync(metricsPath, 'utf8')) - console.log('metricsData.linesOfCodeChanged =', metricsData.linesOfCodeChanged) - console.log('metricsData.charactersOfCodeChanged =', metricsData.charactersOfCodeChanged) - console.log('linesOfCodeSubmitted =', transformByQState.getLinesOfCodeSubmitted()) - console.log('transformByQState.getTransformationType() =', transformByQState.getTransformationType()) - await codeWhisperer.codeWhispererClient.sendTelemetryEvent({ telemetryEvent: { transformEvent: {