From 556cbf83e612205c8775b8c70793820271c811c3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nidhi=20Tyagi=20=F0=9F=8C=9F=F0=9F=90=87=F0=9F=8C=B4?= =?UTF-8?q?=E2=9D=84=EF=B8=8F?= Date: Wed, 16 Oct 2024 14:34:13 +0530 Subject: [PATCH] update for test case --- src/web/client/utilities/commonUtil.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/web/client/utilities/commonUtil.ts b/src/web/client/utilities/commonUtil.ts index 651be275..c258429d 100644 --- a/src/web/client/utilities/commonUtil.ts +++ b/src/web/client/utilities/commonUtil.ts @@ -219,7 +219,7 @@ export function getWorkSpaceName(websiteId: string): string { // ENV_ID is the last part of the parameter value sent in the vscode URL from studio export function getEnvironmentIdFromUrl() { - return (WebExtensionContext.urlParametersMap.get(queryParameters.ENV_ID) as string).split("/")?.pop() as string; + return (WebExtensionContext.urlParametersMap.get(queryParameters.ENV_ID))?.toString().split("/")?.pop() as string; } export function getBackToStudioURL() {