mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-22 01:25:38 -05:00
Show correct release notes for command (#5108)
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user