Skip to content

Commit 6ec344c

Browse files
committed
Handle isfs path containing more than one '/'
1 parent 07d618e commit 6ec344c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/providers/FileSystemPovider/FileSearchProvider.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ export class FileSearchProvider implements vscode.FileSearchProvider {
2222
if (options.folder.path !== "/") {
2323
filter = options.folder.path.slice(1) + "/%" + filter;
2424
}
25-
filter = filter.replace("/", ".");
25+
filter = filter.replace(/\//g, ".");
2626
}
2727
let counter = 0;
2828
if (!api.enabled) {

0 commit comments

Comments
 (0)