Skip to content

Commit

Permalink
fix: empty arch str
Browse files Browse the repository at this point in the history
  • Loading branch information
Ossianaa committed Aug 29, 2024
1 parent 371e838 commit de9581e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion scripts/rebuild.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,10 @@ const tar = require("tar");
let { platform, arch } = process;
const { "artifacts-version": version } = require("../package.json");
if (process.argv.at(-1).startsWith("--arch=")) {
arch = process.argv.at(-1).slice(7);
const arch_ = process.argv.at(-1).slice(7);
if (arch_) {
arch = arch_;
}
}
let platform_ = null;

Expand Down

0 comments on commit de9581e

Please sign in to comment.