Use global process

pull/591/head
dcvz 2023-11-07 11:18:55 +01:00
parent 920bcc320b
commit 5ce8e880a5
3 changed files with 1 additions and 6 deletions

2
dist/index.js generated vendored
View File

@ -7199,8 +7199,6 @@ class SetupMac {
}
static getArchitectureParameters() {
const architectureArgument = [];
// @ts-ignore
const process = __nccwpck_require__(77282);
switch (process.arch) {
case 'x64':
architectureArgument.push('--architecture', 'x86_64');

2
dist/index.js.map generated vendored

File diff suppressed because one or more lines are too long

View File

@ -75,9 +75,6 @@ class SetupMac {
private static getArchitectureParameters(): string[] {
const architectureArgument = [];
// @ts-ignore
const process = require('process');
switch (process.arch) {
case 'x64':
architectureArgument.push('--architecture', 'x86_64');