update changeset file to resolve vale errors

Signed-off-by: Camgoz, Fatih <fatih.camgoz@rbc.com>
This commit is contained in:
Camgoz, Fatih
2025-05-16 14:30:08 -04:00
parent dade5de08b
commit 35e4afcc25
+3 -3
View File
@@ -2,7 +2,7 @@
'@backstage/plugin-catalog-backend-module-azure': minor
---
isCloud function now also checks if hostname is visualstudio.com or endswith visualstudio.com along with dev.azure.com
The `isCloud` function now also checks if hostname is visualstudio.com or ends with .visualstudio.com along with dev.azure.com
```diff
- const isCloud = (host: string) => host === 'dev.azure.com';
@@ -10,11 +10,11 @@ isCloud function now also checks if hostname is visualstudio.com or endswith vis
+ if (host === 'dev.azure.com') {
+ return true;
+ }
+
+ if (host === 'visualstudio.com' || host.endsWith('.visualstudio.com')) {
+ return true;
+ }
+
+ return false;
+ };
```