Skip to content

Commit 9779579

Browse files
committed
Shows explorer view when showing results
1 parent 64c8bd4 commit 9779579

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/views/resultsExplorer.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ export class ResultsExplorer implements TreeDataProvider<ExplorerNode> {
114114
this._onDidChangeTreeData.fire();
115115
}
116116

117-
async showComparisonInResults(repoPath: string, ref1: string, ref2: string) {
117+
showComparisonInResults(repoPath: string, ref1: string, ref2: string) {
118118
this.addResults(new ComparisionResultsNode(repoPath, ref1, ref2, this));
119119
this.showResults();
120120
}
@@ -147,7 +147,8 @@ export class ResultsExplorer implements TreeDataProvider<ExplorerNode> {
147147
this.showResults();
148148
}
149149

150-
private showResults() {
150+
private async showResults() {
151+
await commands.executeCommand('workbench.view.explorer');
151152
Messages.showResultExplorerInfoMessage();
152153
setCommandContext(CommandContext.ResultsExplorer, true);
153154
}

0 commit comments

Comments
 (0)