Show correct release notes for command (#5108)

This commit is contained in:
Charles Gagnon
2019-04-23 10:55:09 -07:00
committed by GitHub
parent 5c90df092b
commit c66b349cec

View File

@@ -73,11 +73,14 @@ export abstract class AbstractShowReleaseNotesAction extends Action {
this.enabled = false; this.enabled = false;
return showReleaseNotes(this.instantiationService, this.version) // {{SQL CARBON EDIT}}
.then(undefined, () => { // return showReleaseNotes(this.instantiationService, this.version)
const action = this.instantiationService.createInstance(OpenLatestReleaseNotesInBrowserAction); // .then(undefined, () => {
return action.run().then(() => false); // const action = this.instantiationService.createInstance(OpenLatestReleaseNotesInBrowserAction);
}); // return action.run().then(() => false);
// });
const action = this.instantiationService.createInstance(OpenLatestReleaseNotesInBrowserAction);
return action.run().then(() => true);
} }
} }