Skip to content

Commit

Permalink
refactor(createUSSNode): remove optional chaining in if block
Browse files Browse the repository at this point in the history
Signed-off-by: Trae Yelovich <[email protected]>
  • Loading branch information
traeok committed Oct 7, 2024
1 parent 7909c10 commit a0a086e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/zowe-explorer/src/uss/actions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit a0a086e

Please sign in to comment.