We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 96c684a commit 4616180Copy full SHA for 4616180
src/platform.ts
@@ -177,12 +177,13 @@ export class PlatformInformation {
177
return architecture;
178
}
179
180
+ // Emulates https://github.com/dotnet/install-scripts/blob/3c6cc06/src/dotnet-install.sh#L187-L189.
181
private static async GetIsMusl(): Promise<boolean> {
182
try {
183
const output = await util.execChildProcess('ldd --version');
184
return output.includes('musl');
185
} catch (err) {
- return false;
186
+ return err instanceof Error ? err.message.includes('musl') : false;
187
188
189
0 commit comments