Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion infrastructure/code/code.go
Original file line number Diff line number Diff line change
Expand Up @@ -400,7 +400,8 @@
}
}()

sarifResponse, bundleHash, err = sc.codeScanner.UploadAndAnalyzeLegacy(ctx, requestId, target, shardKey, files, stringChangedFiles, statusChannel)
analysisContext := context.WithValue(ctx, scan.InitiatorKey, "IDE")

Check failure on line 403 in infrastructure/code/code.go

View workflow job for this annotation

GitHub Actions / lint

undefined: scan.InitiatorKey) (typecheck)

Check failure on line 403 in infrastructure/code/code.go

View workflow job for this annotation

GitHub Actions / lint

undefined: scan.InitiatorKey) (typecheck)

Check failure on line 403 in infrastructure/code/code.go

View workflow job for this annotation

GitHub Actions / lint

undefined: scan.InitiatorKey) (typecheck)
sarifResponse, bundleHash, err = sc.codeScanner.UploadAndAnalyzeLegacy(analysisContext, requestId, target, shardKey, files, stringChangedFiles, statusChannel)
}

if err != nil || ctx.Err() != nil {
Expand Down
Loading