Skip to content

Commit

Permalink
fix: use path.posix.join when building full path
Browse files Browse the repository at this point in the history
Signed-off-by: Trae Yelovich <[email protected]>
  • Loading branch information
traeok committed Oct 4, 2024
1 parent 9a584e8 commit d59432d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/zowe-explorer/src/trees/uss/USSActions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ export class USSActions {
const name = await Gui.showInputBox(nameOptions);
if (name && filePath) {
try {
filePath = `${filePath}/${name}`;
filePath = path.posix.join(filePath, name);
const uri = node.resourceUri.with({
path: isTopLevel ? path.posix.join(node.resourceUri.path, filePath) : path.posix.join(node.resourceUri.path, name),
});
Expand Down

0 comments on commit d59432d

Please sign in to comment.