From a0a086e7b13dfd315c03fb07f6413c3c5822f779 Mon Sep 17 00:00:00 2001 From: Trae Yelovich Date: Mon, 7 Oct 2024 14:58:16 -0400 Subject: [PATCH] refactor(createUSSNode): remove optional chaining in if block Signed-off-by: Trae Yelovich --- packages/zowe-explorer/src/uss/actions.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/zowe-explorer/src/uss/actions.ts b/packages/zowe-explorer/src/uss/actions.ts index ec5c0c2f75..09f1281b04 100644 --- a/packages/zowe-explorer/src/uss/actions.ts +++ b/packages/zowe-explorer/src/uss/actions.ts @@ -61,7 +61,7 @@ export async function createUSSNode(node: IZoweUSSTreeNode, ussFileProvider: IZo filePath = node.fullPath; } - if (filePath == null || filePath?.length === 0) { + if (filePath == null || filePath.length === 0) { return; }