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;
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);
}
}