We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ec5d646 commit e593c9fCopy full SHA for e593c9f
packages/cli/src/commands/test.ts
@@ -202,7 +202,7 @@ async function getPlatform(
202
const type = os.type();
203
const arch = os.arch();
204
const cpuCore = os.cpus()[0];
205
- const isAppleSilicon = arch === 'arm64' && /Apple (M1|M2|M3|M4|processor)/.test(cpuCore.model);
+ const isAppleSilicon = arch === 'arm64' && /Apple (M[0-9]|processor)/.test(cpuCore.model);
206
const linuxInfo = type === 'Linux' ? await getLinuxInfo.bind(this)() : {};
207
const linuxDistro = linuxInfo.name;
208
const release = linuxInfo.version || os.release();
0 commit comments