vbump and typo fix (#19374)

This commit is contained in:
Christopher Suh
2022-05-13 13:18:57 -07:00
committed by GitHub
parent b669ab9481
commit 8352c7631c
2 changed files with 2 additions and 2 deletions

View File

@@ -1,6 +1,6 @@
{
"downloadUrl": "https://github.com/Microsoft/sqltoolsservice/releases/download/v{#version#}/microsoft.sqltools.servicelayer-{#fileName#}",
"version": "3.0.0-release.250",
"version": "3.0.0-release.251",
"downloadFileNames": {
"Windows_86": "win-x86-net6.0.zip",
"Windows_64": "win-x64-net6.0.zip",

View File

@@ -108,7 +108,7 @@ export class AccountFeature implements StaticFeature {
// find account
const accountList = await azdata.accounts.getAllAccounts();
const account = accountList.find(a => a.key.accountId === request.accountId);
if (account) {
if (!account) {
console.log(`Failed to find azure account ${request.accountId} when executing token refresh`);
throw Error(localizedConstants.failedToFindAccount(request.accountId));
}