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 4325d4a commit 0ebac13Copy full SHA for 0ebac13
src/commands/test.js
@@ -125,7 +125,7 @@ async function getPlatform(logsOpt) {
125
const type = os.type()
126
const arch = os.arch()
127
const cpuCore = os.cpus()[0]
128
- const isM1 = /Apple M1|processor/i.test(cpuCore.model)
+ const isM1 = /Apple (M1|processor)/.test(cpuCore.model)
129
const linuxInfo = type === 'Linux' ? await getLinuxInfo() : new Map()
130
const linuxDistro = linuxInfo.get('name')
131
const release = linuxInfo.get('version') || os.release()
0 commit comments