mirror of
https://github.com/4gray/iptvnator.git
synced 2026-10-08 17:06:15 -08:00
refactor(args): rename variable for clarity in macOS runtime scripts
Entire-Checkpoint: c6e522b4276c
This commit is contained in:
1 parent
0b5089853f
commit
09e65f8847
2 files changed
+4
-2
No files matched your search
@@ -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 =
|
||||
|
||||
@@ -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();
|
||||
|
||||
Reference in new issue
Block a user