Skip to content

Commit

Permalink
remove console.log statements
Browse files Browse the repository at this point in the history
  • Loading branch information
David Hasani committed Nov 9, 2024
1 parent 292efea commit f83e441
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 7 deletions.
2 changes: 0 additions & 2 deletions packages/core/src/codewhisperer/client/codewhisperer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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}`)
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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: {
Expand Down

0 comments on commit f83e441

Please sign in to comment.