Commit c35a5fc 1 parent fc7f350 commit c35a5fc Copy full SHA for c35a5fc
File tree 3 files changed +5
-3
lines changed
3 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,8 @@ let path = require('path');
3
3
4
4
let parts = [ process . platform , process . arch ] ;
5
5
if ( process . platform === 'linux' ) {
6
- const { MUSL , family} = require ( 'detect-libc' ) ;
6
+ const { MUSL , familySync} = require ( 'detect-libc' ) ;
7
+ const family = familySync ( ) ;
7
8
if ( family === MUSL ) {
8
9
parts . push ( 'musl' ) ;
9
10
} else if ( process . arch === 'arm' ) {
Original file line number Diff line number Diff line change 1
1
let parts = [ process . platform , process . arch ] ;
2
2
if ( process . platform === 'linux' ) {
3
- const { MUSL , family } = require ( 'detect-libc' ) ;
3
+ const { MUSL , familySync } = require ( 'detect-libc' ) ;
4
+ const family = familySync ( ) ;
4
5
if ( family === MUSL ) {
5
6
parts . push ( 'musl' ) ;
6
7
} else if ( process . arch === 'arm' ) {
Original file line number Diff line number Diff line change 39
39
" node/*.flow"
40
40
],
41
41
"dependencies" : {
42
- "detect-libc" : " ^1 .0.3"
42
+ "detect-libc" : " ^2 .0.3"
43
43
},
44
44
"devDependencies" : {
45
45
"@babel/parser" : " 7.21.4" ,
You can’t perform that action at this time.
0 commit comments