|
1 | 1 | 'use strict'; |
2 | 2 |
|
3 | 3 | import * as vscode from 'vscode'; |
4 | | -import { commentController } from '../controllers/comments'; |
5 | | -import { BanditParser } from '../parsers/bandit'; |
6 | | -import { BrakemanParser } from '../parsers/brakeman'; |
7 | | -import { CheckovParser } from '../parsers/checkov'; |
8 | | -import { GosecParser } from '../parsers/gosec'; |
9 | | -import { SemgrepParser } from '../parsers/semgrep'; |
10 | | -import { ToolFinding } from '../models/toolFinding'; |
11 | | -import { saveNoteComment } from '../helpers'; |
12 | | -import { RemoteDb } from '../persistence/remote-db'; |
| 4 | +import { commentController } from '../../controllers/comments'; |
| 5 | +import { BanditParser } from '../../parsers/bandit'; |
| 6 | +import { BrakemanParser } from '../../parsers/brakeman'; |
| 7 | +import { CheckovParser } from '../../parsers/checkov'; |
| 8 | +import { GosecParser } from '../../parsers/gosec'; |
| 9 | +import { SemgrepParser } from '../../parsers/semgrep'; |
| 10 | +import { ToolFinding } from '../../models/toolFinding'; |
| 11 | +import { saveNoteComment } from '../../helpers'; |
| 12 | +import { RemoteDb } from '../../persistence/remote-db'; |
13 | 13 |
|
14 | 14 | export class ImportToolResultsWebview implements vscode.WebviewViewProvider { |
15 | 15 | public static readonly viewType = 'import-tool-results-view'; |
@@ -54,7 +54,13 @@ export class ImportToolResultsWebview implements vscode.WebviewViewProvider { |
54 | 54 |
|
55 | 55 | private _getHtmlForWebview(webview: vscode.Webview) { |
56 | 56 | const scriptUri = webview.asWebviewUri( |
57 | | - vscode.Uri.joinPath(this._extensionUri, 'src', 'webviews', 'assets', 'main.js'), |
| 57 | + vscode.Uri.joinPath( |
| 58 | + this._extensionUri, |
| 59 | + 'src', |
| 60 | + 'webviews', |
| 61 | + 'assets', |
| 62 | + 'importToolResults.js', |
| 63 | + ), |
58 | 64 | ); |
59 | 65 | const styleResetUri = webview.asWebviewUri( |
60 | 66 | vscode.Uri.joinPath(this._extensionUri, 'src', 'webviews', 'assets', 'reset.css'), |
|
0 commit comments