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 ece8408 commit f133b00Copy full SHA for f133b00
scripts/build.ts
@@ -99,7 +99,7 @@ class Builder {
99
*/
100
private async target(): Promise<"darwin" | "alpine" | "linux"> {
101
if (!this._target) {
102
- if (process.env.OSTYPE && /^darwin/.test(process.env.OSTYPE)) {
+ if (os.platform() === "darwin" || (process.env.OSTYPE && /^darwin/.test(process.env.OSTYPE))) {
103
this._target = "darwin";
104
} else {
105
// Alpine's ldd doesn't have a version flag but if you use an invalid flag
0 commit comments