Skip to content

Commit 43ea74c

Browse files
committed
made console log more readable
1 parent 7a2f945 commit 43ea74c

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/commands/test.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,11 @@ function getPlatform(logs) {
6565
const isM1 = cpuCore.model.includes("Apple M1")
6666

6767
if (logs) {
68-
console.log(`OS type: ${type}\nOS arch: ${arch}\nOS release: ${release}\nOS major version: ${majorVersion}\nCPU model: ${cpuCore.model}`)
68+
console.log(`OS type: ${type}
69+
OS arch: ${arch}
70+
OS release: ${release}
71+
OS major version: ${majorVersion}
72+
CPU model: ${cpuCore.model}`)
6973
}
7074

7175
if (arch === 'x64' || (arch === 'arm64' && isM1)) {

0 commit comments

Comments
 (0)