Skip to content

Commit f9369e9

Browse files
authored
more logs
1 parent bb72ead commit f9369e9

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

packages/core/src/codewhisperer/commands/basicCommands.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -372,6 +372,8 @@ export const openSecurityIssuePanel = Commands.declare(
372372
const targetFilePath: string = issue instanceof IssueItem ? issue.filePath : filePath
373373
await showSecurityIssueWebview(context.extensionContext, targetIssue, targetFilePath)
374374
console.log('in show securityIssueWebview')
375+
console.log('targetIssue', targetIssue)
376+
console.log('targetFilePath', targetFilePath)
375377

376378
telemetry.codewhisperer_codeScanIssueViewDetails.emit({
377379
findingId: targetIssue.findingId,
@@ -391,6 +393,7 @@ export const openSecurityIssuePanel = Commands.declare(
391393
undefined,
392394
!!targetIssue.suggestedFixes.length
393395
)
396+
console.log('suggestedFixes?', targetIssue.suggestedFixes)
394397
if (targetIssue.suggestedFixes.length === 0) {
395398
console.log('going to generate fix as suggested fix length is 0')
396399
await generateFix.execute(targetIssue, targetFilePath, 'webview', true, false)

0 commit comments

Comments
 (0)