From 71cd924e8283985a4a31e7f89e2e8b4592e6590d Mon Sep 17 00:00:00 2001 From: The Ghost of FOSS' Future <163201376+sneedgroup-holder@users.noreply.github.com> Date: Thu, 9 Jan 2025 01:22:52 +0000 Subject: [PATCH] Update quickjs-libc.c --- quickjs-libc.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/quickjs-libc.c b/quickjs-libc.c index 0219bb4..bf03132 100644 --- a/quickjs-libc.c +++ b/quickjs-libc.c @@ -664,9 +664,9 @@ int js_module_set_import_meta(JSContext *ctx, JSValue func_val, if (use_realpath) { char *res = realpath(module_name, buf + strlen(buf)); if (!res) { - JS_ThrowTypeError(ctx, "realpath failure"); - JS_FreeCString(ctx, module_name); - return -1; + // JS_ThrowTypeError(ctx, "realpath failure"); // bugged so disabled + // JS_FreeCString(ctx, module_name); + // return -1; } } else #endif