Fixes PDB cleanup on Windows

This commit is contained in:
Dmitry Vedenko 2023-04-28 14:50:06 +03:00
parent 37aa99d1ef
commit b4bcd6c6df
No known key found for this signature in database
GPG Key ID: F4C37A6204F983A2
3 changed files with 3 additions and 3 deletions

2
dist/build/index.js vendored

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -377,7 +377,7 @@ async function processDebugInformation(buildDir, buildType, performUpload) {
path.join(buildDir, `${buildType}/**/*.ilk`),
]);
for (const pdb of [ ...exePdbs, ...miscFiles ]) {
for (const pdb of [ ...pdbs, ...miscFiles ]) {
await fs.promises.rm(pdb);
}
} else if (process.platform == 'darwin') {