@@ -25,19 +25,19 @@ export class SecurityIssueHoverProvider extends SecurityIssueProvider implements
25
25
) : vscode . Hover {
26
26
const contents : vscode . MarkdownString [ ] = [ ]
27
27
28
- const fileIssues = this . issues . find ( group => group . filePath === document . fileName ) ?. issues || [ ] ;
28
+ const fileIssues = this . issues . find ( group => group . filePath === document . fileName ) ?. issues || [ ]
29
29
30
30
for ( const issue of fileIssues ) {
31
- const range = new vscode . Range ( issue . startLine , 0 , issue . endLine , 0 ) ;
31
+ const range = new vscode . Range ( issue . startLine , 0 , issue . endLine , 0 )
32
32
if ( range . contains ( position ) ) {
33
- contents . push ( this . _getContent ( document . fileName , issue ) ) ;
33
+ contents . push ( this . _getContent ( document . fileName , issue ) )
34
34
telemetry . codewhisperer_codeScanIssueHover . emit ( {
35
35
findingId : issue . findingId ,
36
36
detectorId : issue . detectorId ,
37
37
ruleId : issue . ruleId ,
38
38
includesFix : ! ! issue . suggestedFixes . length ,
39
39
credentialStartUrl : AuthUtil . instance . startUrl ,
40
- } ) ;
40
+ } )
41
41
TelemetryHelper . instance . sendCodeScanRemediationsEvent (
42
42
document . languageId ,
43
43
'CODESCAN_ISSUE_HOVER' ,
@@ -48,7 +48,7 @@ export class SecurityIssueHoverProvider extends SecurityIssueProvider implements
48
48
undefined ,
49
49
undefined ,
50
50
! ! issue . suggestedFixes . length
51
- ) ;
51
+ )
52
52
}
53
53
}
54
54
0 commit comments