Skip to content

Commit 6d4998d

Browse files
committed
Added logs logging os information
1 parent 55a93b8 commit 6d4998d

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/commands/test.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,11 @@ function getPlatform() {
5858
const majorVersion = semver.major(release);
5959
const isM1 = cpuCore.model.includes("Apple M1");
6060

61+
console.log("os type: " + type)
62+
console.log("os arch: " + arch)
63+
console.log("os release: " + release)
64+
console.log("os major version: " + majorVersion)
65+
6166
if (arch === 'x64' || (arch === 'arm64' && isM1)) {
6267
if (type === 'Darwin') {
6368
if (majorVersion === '19') {

0 commit comments

Comments
 (0)