refactor(args): rename variable for clarity in macOS runtime scripts

Entire-Checkpoint: c6e522b4276c
This commit is contained in:
4gray committed 2026-04-27 00:59:33 +02:00
1 parent 0b5089853f
commit 09e65f8847
2 files changed
+4 -2

No files matched your search

+2 -1
View File
@@ -5,7 +5,8 @@ import os from 'os';
import path from 'path';
import { spawnSync } from 'child_process';
const args = process.argv.slice(2);
const rawArgs = process.argv.slice(2);
const args = rawArgs[0] === '--' ? rawArgs.slice(1) : rawArgs;
const [arch, rawPrefix] = args;
const validArchitectures = new Set(['arm64', 'x64']);
const macosDeploymentTarget =
+2 -1
View File
@@ -1,7 +1,8 @@
import fs from 'fs';
import path from 'path';
const args = process.argv.slice(2);
const rawArgs = process.argv.slice(2);
const args = rawArgs[0] === '--' ? rawArgs.slice(1) : rawArgs;
const [arch, sourcePrefix] = args;
const validArchitectures = new Set(['arm64', 'x64']);
const workspaceRoot = process.cwd();