File tree 2 files changed +2
-2
lines changed
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 26
26
},
27
27
"binaryServerDownloadUrl" : {
28
28
"linux" : " https://github.com/redhat-developer/vscode-xml/releases/download/latest/lemminx-linux.zip" ,
29
+ "alpine" : " https://github.com/redhat-developer/vscode-xml/releases/download/latest/lemminx-alpine.zip" ,
29
30
"osx-x86_64" : " https://github.com/redhat-developer/vscode-xml/releases/download/latest/lemminx-osx-x86_64.zip" ,
30
31
"osx-aarch_64" : " https://github.com/redhat-developer/vscode-xml/releases/download/latest/lemminx-osx-aarch_64.zip" ,
31
32
"win32" : " https://github.com/redhat-developer/vscode-xml/releases/download/latest/lemminx-win32.zip"
Original file line number Diff line number Diff line change @@ -214,8 +214,7 @@ function getBinaryEnvironment(): any {
214
214
* @returns The platform of the current operating system.
215
215
*/
216
216
function getPlatform ( ) : NodeJS . Platform | 'alpine' {
217
- if ( fs . existsSync ( '/etc/alpine-release' ) ) return 'alpine'
218
- return os . platform ( )
217
+ return fs . existsSync ( '/etc/alpine-release' ) ? 'alpine' : os . platform ( ) ;
219
218
}
220
219
221
220
/**
You can’t perform that action at this time.
0 commit comments