From c66b349cece2d7e07f219601f520e2f69ad67dfe Mon Sep 17 00:00:00 2001 From: Charles Gagnon Date: Tue, 23 Apr 2019 10:55:09 -0700 Subject: [PATCH] Show correct release notes for command (#5108) --- .../contrib/update/electron-browser/update.ts | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/src/vs/workbench/contrib/update/electron-browser/update.ts b/src/vs/workbench/contrib/update/electron-browser/update.ts index 229156cafc..488a9e4959 100644 --- a/src/vs/workbench/contrib/update/electron-browser/update.ts +++ b/src/vs/workbench/contrib/update/electron-browser/update.ts @@ -73,11 +73,14 @@ export abstract class AbstractShowReleaseNotesAction extends Action { this.enabled = false; - return showReleaseNotes(this.instantiationService, this.version) - .then(undefined, () => { - const action = this.instantiationService.createInstance(OpenLatestReleaseNotesInBrowserAction); - return action.run().then(() => false); - }); + // {{SQL CARBON EDIT}} + // return showReleaseNotes(this.instantiationService, this.version) + // .then(undefined, () => { + // const action = this.instantiationService.createInstance(OpenLatestReleaseNotesInBrowserAction); + // return action.run().then(() => false); + // }); + const action = this.instantiationService.createInstance(OpenLatestReleaseNotesInBrowserAction); + return action.run().then(() => true); } }