From cfd73cec816cb73e0017cf306e133a7b0e5ae4eb Mon Sep 17 00:00:00 2001 From: dave caruso Date: Sat, 3 Jun 2023 00:36:05 -0400 Subject: fixes with hardcoded modules (#3182) * fixes with hardcoded modules * add make hardcoded to make dev * adjust this message * remove debugging logs * this * restore2 --- src/js/thirdparty/detect-libc.js | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) (limited to 'src/js/thirdparty/detect-libc.js') diff --git a/src/js/thirdparty/detect-libc.js b/src/js/thirdparty/detect-libc.js index 303cbdb9e..514a76536 100644 --- a/src/js/thirdparty/detect-libc.js +++ b/src/js/thirdparty/detect-libc.js @@ -1,14 +1,10 @@ -// Hardcoded module "detect-libc" +// Hardcoded module "detect-libc" for darwin export function family() { return Promise.resolve(familySync()); } export function familySync() { - if (process.platform === "linux") { - return GLIBC; - } else { - return null; - } + return null; } export const GLIBC = "glibc"; @@ -19,11 +15,7 @@ export function versionAsync() { } export function version() { - if (process.platform === "linux") { - return "2.29"; - } else { - return null; - } + return null; } export function isNonGlibcLinuxSync() { -- cgit v1.2.3