Skip to content

Commit 47acadb

Browse files
committed
win32 => win
1 parent 9884569 commit 47acadb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/e-pr.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,8 @@ Proceed?`,
302302
return;
303303
}
304304

305-
const artifactName = `generated_artifacts_${options.platform}_${options.arch}`;
305+
const artifactPlatform = options.platform === 'win32' ? 'win' : options.platform;
306+
const artifactName = `generated_artifacts_${artifactPlatform}_${options.arch}`;
306307
const artifact = artifacts.find((artifact) => artifact.name === artifactName);
307308
if (!artifact) {
308309
console.error(`Failed to find artifact: ${artifactName}`);

0 commit comments

Comments
 (0)