Skip to content

Commit a23d65a

Browse files
authored
cli: Add support for M4 apple silicon (#1782)
* cli: Add support for M4 apple silicon
1 parent 425d77f commit a23d65a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/cli/src/commands/test.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ async function getPlatform(
180180
const type = os.type();
181181
const arch = os.arch();
182182
const cpuCore = os.cpus()[0];
183-
const isAppleSilicon = arch === 'arm64' && /Apple (M1|M2|M3|processor)/.test(cpuCore.model);
183+
const isAppleSilicon = arch === 'arm64' && /Apple (M1|M2|M3|M4|processor)/.test(cpuCore.model);
184184
const linuxInfo = type === 'Linux' ? await getLinuxInfo.bind(this)() : {};
185185
const linuxDistro = linuxInfo.name;
186186
const release = linuxInfo.version || os.release();

0 commit comments

Comments
 (0)