Skip to content

Commit

Permalink
win32 => win
Browse files Browse the repository at this point in the history
  • Loading branch information
samuelmaddock committed Dec 12, 2024
1 parent 9884569 commit 47acadb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/e-pr.js
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,8 @@ Proceed?`,
return;
}

const artifactName = `generated_artifacts_${options.platform}_${options.arch}`;
const artifactPlatform = options.platform === 'win32' ? 'win' : options.platform;
const artifactName = `generated_artifacts_${artifactPlatform}_${options.arch}`;
const artifact = artifacts.find((artifact) => artifact.name === artifactName);
if (!artifact) {
console.error(`Failed to find artifact: ${artifactName}`);
Expand Down

0 comments on commit 47acadb

Please sign in to comment.