@microsoft/vscode-azext-azureauth 4.0.1 → 4.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Change Log
2
2
 
3
+ ## 4.0.2 - 2024-12-19
4
+
5
+ * [#1861](https://github.com/microsoft/vscode-azuretools/pull/1861) Remove unecessary if statement
6
+
3
7
  ## 4.0.1 - 2024-12-17
4
8
 
5
9
  * [#1856](https://github.com/microsoft/vscode-azuretools/pull/1856) Fix tenantId undefined error
@@ -35,11 +35,8 @@ function getUnauthenticatedTenants(subscriptionProvider) {
35
35
  _d = false;
36
36
  try {
37
37
  const tenant = _c;
38
- // Occasiounally users have run into one of their tenants being undefined https://github.com/microsoft/vscode-azureresourcegroups/issues/966
39
- if (tenant) {
40
- if (!(yield subscriptionProvider.isSignedIn(tenant.tenantId, tenant.account))) {
41
- unauthenticatedTenants.push(tenant);
42
- }
38
+ if (!(yield subscriptionProvider.isSignedIn(tenant.tenantId, tenant.account))) {
39
+ unauthenticatedTenants.push(tenant);
43
40
  }
44
41
  }
45
42
  finally {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@microsoft/vscode-azext-azureauth",
3
3
  "author": "Microsoft Corporation",
4
- "version": "4.0.1",
4
+ "version": "4.0.2",
5
5
  "description": "Azure authentication helpers for Visual Studio Code",
6
6
  "tags": [
7
7
  "azure",