Skip to content

Commit

Permalink
Use global process
Browse files Browse the repository at this point in the history
  • Loading branch information
dcvz committed Nov 7, 2023
1 parent 920bcc3 commit 5ce8e88
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 6 deletions.
2 changes: 0 additions & 2 deletions dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

3 changes: 0 additions & 3 deletions src/model/platform-setup/setup-mac.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand Down

0 comments on commit 5ce8e88

Please sign in to comment.