diff --git a/src/commands/diffBranchWithBranch.ts b/src/commands/diffBranchWithBranch.ts index 1f4783e..9bf4e63 100644 --- a/src/commands/diffBranchWithBranch.ts +++ b/src/commands/diffBranchWithBranch.ts @@ -79,7 +79,7 @@ export class DiffBranchWithBranchCommand extends ActiveEditorCommand { if (args.ref1 === undefined) return undefined; } - Container.resultsExplorer.showComparisonInResults(repoPath, args.ref1, args.ref2); + await Container.resultsExplorer.showComparisonInResults(repoPath, args.ref1, args.ref2); return undefined; } diff --git a/src/quickpicks/commonQuickPicks.ts b/src/quickpicks/commonQuickPicks.ts index 36798c6..42f2eec 100644 --- a/src/quickpicks/commonQuickPicks.ts +++ b/src/quickpicks/commonQuickPicks.ts @@ -247,7 +247,7 @@ export class ShowCommitInResultsQuickPickItem extends CommandQuickPickItem { async execute( options: TextDocumentShowOptions = { preserveFocus: false, preview: false } ): Promise<{} | undefined> { - Container.resultsExplorer.showCommitInResults(this.commit); + await Container.resultsExplorer.showCommitInResults(this.commit); return undefined; } }