fix cycle checker on windows

This commit is contained in:
Connor Peet
2025-06-09 10:57:38 -07:00
parent 6812a1791c
commit cac4de4186
2 changed files with 2 additions and 2 deletions

View File

@@ -315,7 +315,7 @@ export function createTypeScriptBuilder(config: IConfiguration, projectFile: str
const jsValue = value.files.find(candidate => candidate.basename.endsWith('.js'));
if (jsValue) {
outHost.addScriptSnapshot(jsValue.path, new ScriptSnapshot(String(jsValue.contents), new Date()));
toBeCheckedForCycles.push(jsValue.path);
toBeCheckedForCycles.push(normalize(jsValue.path));
}
}).catch(e => {