Skip to content

Commit 66da95e

Browse files
authored
fix: remove invalid Regx in Safari (#777)
1 parent 32c877a commit 66da95e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/services/workbench/explorer/folderTreeService.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -383,7 +383,7 @@ export class FolderTreeService
383383
if (currentIndex.node.fileType === FileTypes.File) {
384384
data.location =
385385
currentIndex.node.location?.replace(
386-
/(?<=\/)[^\/]+$/,
386+
/[^\/]+$/,
387387
`${data.name}`
388388
) || '';
389389

0 commit comments

Comments
 (0)