Make the property init order checker script Windows friendly (#243093)

Part of #243049
This commit is contained in:
Alex Ross
2025-03-10 17:54:49 +01:00
committed by GitHub
parent 31ec1c528f
commit 62e914e344
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -257,7 +257,7 @@ for (const file of program.getSourceFiles()) {
if (!file || file.isDeclarationFile) {
continue;
}
const relativePath = path.relative(path.dirname(TS_CONFIG_PATH), file.fileName);
const relativePath = path.relative(path.dirname(TS_CONFIG_PATH), file.fileName).replace(/\\/g, '/');
if (ignored.has(relativePath)) {
continue;
}
+1 -1
View File
@@ -239,7 +239,7 @@ for (const file of program.getSourceFiles()) {
continue;
}
const relativePath = path.relative(path.dirname(TS_CONFIG_PATH), file.fileName);
const relativePath = path.relative(path.dirname(TS_CONFIG_PATH), file.fileName).replace(/\\/g, '/');
if (ignored.has(relativePath)) {
continue;
}