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 f93eaef commit 1ea23a0Copy full SHA for 1ea23a0
lib/current-env.js
@@ -19,7 +19,7 @@ function libc (osName) {
19
return undefined
20
}
21
22
- if (!family) {
+ if (family === undefined) {
23
const originalExclude = process.report.excludeNetwork
24
process.report.excludeNetwork = true
25
const report = process.report.getReport()
@@ -28,9 +28,11 @@ function libc (osName) {
28
family = 'glibc'
29
} else if (Array.isArray(report.sharedObjects) && report.sharedObjects.some(isMusl)) {
30
family = 'musl'
31
+ } else {
32
+ family = null
33
34
- return family
35
+ return family || undefined
36
37
38
function devEngines (env = {}) {
0 commit comments