From 977957904a470d2ab81748f06a9d8870433da78b Mon Sep 17 00:00:00 2001 From: Eric Amodio Date: Thu, 11 Jan 2018 21:01:24 -0500 Subject: [PATCH] Shows explorer view when showing results --- src/views/resultsExplorer.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/views/resultsExplorer.ts b/src/views/resultsExplorer.ts index 2d70938..bf1c11a 100644 --- a/src/views/resultsExplorer.ts +++ b/src/views/resultsExplorer.ts @@ -114,7 +114,7 @@ export class ResultsExplorer implements TreeDataProvider { this._onDidChangeTreeData.fire(); } - async showComparisonInResults(repoPath: string, ref1: string, ref2: string) { + showComparisonInResults(repoPath: string, ref1: string, ref2: string) { this.addResults(new ComparisionResultsNode(repoPath, ref1, ref2, this)); this.showResults(); } @@ -147,7 +147,8 @@ export class ResultsExplorer implements TreeDataProvider { this.showResults(); } - private showResults() { + private async showResults() { + await commands.executeCommand('workbench.view.explorer'); Messages.showResultExplorerInfoMessage(); setCommandContext(CommandContext.ResultsExplorer, true); }