Skip to content

Commit 802a233

Browse files
authored
fix: use normalized path for internalPath in parseFile (#1836)
1 parent 6d59f71 commit 802a233

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/parser.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ export class Parser extends DiagnosticEmitter {
136136
): void {
137137
// the frontend gives us paths with file extensions
138138
var normalizedPath = normalizePath(path);
139-
var internalPath = mangleInternalPath(path);
139+
var internalPath = mangleInternalPath(normalizedPath);
140140

141141
// check if already processed
142142
if (this.donelog.has(internalPath)) return;

0 commit comments

Comments
 (0)