diff --git a/lib/current-env.js b/lib/current-env.js index 9babde1..cf5e886 100644 --- a/lib/current-env.js +++ b/lib/current-env.js @@ -13,12 +13,16 @@ function cpu () { return process.arch } +let family + function libc (osName) { // this is to make it faster on non linux machines if (osName !== 'linux') { return undefined } - let family + if (family) { + return family + } const originalExclude = process.report.excludeNetwork process.report.excludeNetwork = true const report = process.report.getReport()