Skip to content

Commit 0b122e1

Browse files
committed
Fix getUri() for ISFS routines with dots
1 parent 2ef5cc0 commit 0b122e1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/providers/DocumentContentProvider.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ export class DocumentContentProvider implements vscode.TextDocumentContentProvid
5757
const fileName = name
5858
.split(".")
5959
.slice(0, -1)
60-
.join(fileExt.match(/cls/i) ? "/" : ".");
60+
.join(/cls|mac|int|inc/i.test(fileExt) ? "/" : ".");
6161
name = fileName + "." + fileExt;
6262
uri = wFolderUri.with({
6363
path: `/${name}`,

0 commit comments

Comments
 (0)