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

fix #861

Merged
merged 2 commits into from
Jan 29, 2024
Merged

fix #861

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading