Skip to content

Commit b0f3383

Browse files
authored
chore: fmt
1 parent 05a5de8 commit b0f3383

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/build_skia.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,8 @@ if (Deno.build.os === "windows") {
8383
'"-DSK_SHAPER_HARFBUZZ_AVAILABLE"';
8484

8585
const targetArm64 = Deno.env.get("TARGET_ARM64") === "1";
86-
const isMacArm64 = Deno.build.os === "darwin" && Deno.build.arch === "aarch64";
87-
if (isMacArm64 || targetArm64) {
86+
const m1 = Deno.build.os === "darwin" && Deno.build.arch === "aarch64";
87+
if (m1 || targetArm64) {
8888
BUILD_ARGS["target_cpu"] = `"arm64"`;
8989
BUILD_ARGS["target_os"] = `"mac"`;
9090
BUILD_ARGS["extra_cflags_cc"] += ', "--target=arm64-apple-macos"';

0 commit comments

Comments
 (0)