mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-08 09:08:48 +01:00
Make the property init order checker script Windows friendly (#243093)
Part of #243049
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user