Skip to content
This repository has been archived by the owner on Feb 16, 2024. It is now read-only.

Commit

Permalink
fix (#861)
Browse files Browse the repository at this point in the history
  • Loading branch information
DmytroHryshyn authored Jan 29, 2024
1 parent 6037635 commit 288a808
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "intuita-vscode-extension",
"displayName": "Intuita",
"description": " Discover, run & manage codemods faster & easier.",
"version": "0.38.10",
"version": "0.38.11",
"publisher": "Intuita",
"icon": "img/intuita_square128.png",
"repository": {
Expand Down
9 changes: 5 additions & 4 deletions src/components/buildArguments.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,11 @@ const buildGlobPattern = (targetUri: Uri, pattern?: string) => {
const { fsPath: targetUriFsPath } = targetUri;

// Glob patterns should always use / as a path separator, even on Windows systems, as \ is used to escape glob characters.
return targetUriFsPath
.split(sep)
.join('/')
.concat(pattern ?? '');
const pathParts = targetUriFsPath.split(sep);

pathParts.push(pattern ?? '');

return pathParts.join('/');
};

export const buildArguments = (
Expand Down

0 comments on commit 288a808

Please sign in to comment.