Skip to content

Commit 5af8145

Browse files
committed
making the triple equals look for numbers
1 parent 6d4998d commit 5af8145

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/commands/test.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,16 +65,16 @@ function getPlatform() {
6565

6666
if (arch === 'x64' || (arch === 'arm64' && isM1)) {
6767
if (type === 'Darwin') {
68-
if (majorVersion === '19') {
68+
if (majorVersion === 19) {
6969
return 'binary-macos-10.15';
70-
} else if (majorVersion === '18') {
70+
} else if (majorVersion === 18) {
7171
return 'binary-macos-10.14';
7272
} else if (isM1) {
7373
return 'binary-macos-11-m1';
7474
}
7575
return 'binary-macos-11';
7676
} else if (type === 'Linux') {
77-
if (majorVersion === '18') {
77+
if (majorVersion === 18) {
7878
return 'binary-linux-18';
7979
}
8080
return 'binary-linux-20';

0 commit comments

Comments
 (0)