Commit a9bc2f4 1 parent d9389d1 commit a9bc2f4 Copy full SHA for a9bc2f4
File tree 1 file changed +11
-13
lines changed
packages/turbo-repository/js
1 file changed +11
-13
lines changed Original file line number Diff line number Diff line change @@ -85,20 +85,18 @@ switch (platform) {
85
85
}
86
86
break ;
87
87
case "linux" :
88
- if ( isMusl ( ) ) {
89
- throw new Error ( "musl not yet supported" ) ;
90
- } else {
91
- switch ( arch ) {
92
- case "x64" :
93
- suffix = "linux-x64-gnu" ;
94
- break ;
95
- case "arm64" :
96
- suffix = "linux-arm64-gnu" ;
97
- break ;
98
- default :
99
- throw new Error ( `Unsupported architecture on Linux: ${ arch } ` ) ;
100
- }
88
+ const isMusl = isMusl ( ) ;
89
+ switch ( arch ) {
90
+ case "x64" :
91
+ suffix = isMusl ? "linux-x64-musl" : "linux-x64-gnu" ;
92
+ break ;
93
+ case "arm64" :
94
+ suffix = isMusl ? "linux-arm64-musl" : "linux-arm64-gnu" ;
95
+ break ;
96
+ default :
97
+ throw new Error ( `Unsupported architecture on Linux: ${ arch } ` ) ;
101
98
}
99
+
102
100
break ;
103
101
default :
104
102
throw new Error ( `Unsupported OS: ${ platform } , architecture: ${ arch } ` ) ;
You can’t perform that action at this time.
0 commit comments