Skip to content

Commit 7356374

Browse files
authored
Update current-env.js
1 parent 51af910 commit 7356374

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lib/current-env.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@ if (os() === 'linux') {
2626
}
2727
}
2828
function libc (osName) {
29+
if (osName !== 'linux') {
30+
return undefined
31+
}
2932
return family
3033
}
3134

0 commit comments

Comments
 (0)