Skip to content

Commit a69d90a

Browse files
authored
Merge pull request #749 from isc-bsaviano/master
Fix `DocumentContentProvider.getUri()` for ISFS routines with dots
2 parents 2ef5cc0 + 0b122e1 commit a69d90a

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)