Skip to content

Commit

Permalink
🧱 Update update-cli.js
Browse files Browse the repository at this point in the history
  • Loading branch information
tiulpin authored Jan 11, 2024
1 parent 2699838 commit 1be2cdd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common/update-cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ async function getLatestRelease() {

function updateCliChecksums(latestVersion, checksumsPath, cliJsonPath) {
const cliJson = JSON.parse(fs.readFileSync(cliJsonPath, "utf-8"));
const allowedKeysfromCliJson = ["windows_x86_64", "windows_arm64", "linux_x86_64", "linux_arm64", "darwin_all"];
const allowedKeysfromCliJson = ["windows_x86_64", "windows_arm64", "linux_x86_64", "linux_arm64", "darwin_x86_64", "darwin_arm64"];
const checksums = fs.readFileSync(checksumsPath, "utf-8");
checksums.split("\n").forEach(line => {
const [checksum, filename] = line.trim().split(" ");
Expand Down

0 comments on commit 1be2cdd

Please sign in to comment.