|
6 | 6 | } from "./gh-api/gh-api-client"; |
7 | 7 | import { |
8 | 8 | CancellationToken, |
9 | | - commands, |
10 | 9 | env, |
11 | 10 | EventEmitter, |
12 | 11 | ExtensionContext, |
@@ -239,11 +238,11 @@ export class VariantAnalysisManager |
239 | 238 | `Variant analysis ${processedVariantAnalysis.query.name} submitted for processing`, |
240 | 239 | ); |
241 | 240 |
|
242 | | - void commands.executeCommand( |
| 241 | + void this.app.commands.execute( |
243 | 242 | "codeQL.openVariantAnalysisView", |
244 | 243 | processedVariantAnalysis.id, |
245 | 244 | ); |
246 | | - void commands.executeCommand( |
| 245 | + void this.app.commands.execute( |
247 | 246 | "codeQL.monitorVariantAnalysis", |
248 | 247 | processedVariantAnalysis, |
249 | 248 | ); |
@@ -273,7 +272,7 @@ export class VariantAnalysisManager |
273 | 272 | this.makeResultDownloadChecker(variantAnalysis), |
274 | 273 | )) |
275 | 274 | ) { |
276 | | - void commands.executeCommand( |
| 275 | + void this.app.commands.execute( |
277 | 276 | "codeQL.monitorVariantAnalysis", |
278 | 277 | variantAnalysis, |
279 | 278 | ); |
@@ -641,7 +640,7 @@ export class VariantAnalysisManager |
641 | 640 |
|
642 | 641 | const actionsWorkflowRunUrl = getActionsWorkflowRunUrl(variantAnalysis); |
643 | 642 |
|
644 | | - await commands.executeCommand( |
| 643 | + await this.app.commands.execute( |
645 | 644 | "vscode.open", |
646 | 645 | Uri.parse(actionsWorkflowRunUrl), |
647 | 646 | ); |
|
0 commit comments