Run standard --fix

This commit is contained in:
Renée Kooi 2024-04-26 09:42:30 +02:00
parent 8554b2f249
commit e3b63a8160

View File

@ -10,7 +10,6 @@ function extForPlatform (platform) {
}[platform]
}
function resolveCommit (arch, platform, version) {
const ext = extForPlatform(platform)
const resolvedOs = {
@ -24,7 +23,7 @@ function resolveCommit (arch, platform, version) {
arm64: 'aarch64',
ppc64: 'powerpc64',
riscv64: 'riscv64',
x64: 'x86_64',
x64: 'x86_64'
}[arch]
const downloadUrl = `https://ziglang.org/builds/zig-${resolvedOs}-${resolvedArch}-${version}.${ext}`
@ -58,7 +57,7 @@ async function resolveVersion (arch, platform, version) {
arm64: 'aarch64',
ppc64: 'powerpc64',
riscv64: 'riscv64',
x64: 'x86_64',
x64: 'x86_64'
}[arch]
const host = `${resolvedArch}-${resolvedOs}`