mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-17 17:22:42 -05:00
Add link to sql bindings repo (#17263)
* add link to sql bindings repo * move to then * const
This commit is contained in:
@@ -65,7 +65,11 @@ export class PackageHelper {
|
||||
if (project) {
|
||||
await this.addPackage(project, packageName, packageVersion);
|
||||
} else {
|
||||
void vscode.window.showInformationMessage(`To use SQL bindings, ensure your Azure Functions project has a reference to ${constants.sqlExtensionPackageName}`);
|
||||
void vscode.window.showInformationMessage(constants.addPackageReferenceMessage, constants.moreInformation).then((result) => {
|
||||
if (result === constants.moreInformation) {
|
||||
void vscode.env.openExternal(vscode.Uri.parse(constants.sqlBindingsHelpLink));
|
||||
}
|
||||
});
|
||||
}
|
||||
} catch (e) {
|
||||
void vscode.window.showErrorMessage(e.message);
|
||||
|
||||
Reference in New Issue
Block a user