From 2cfec429f74a6f1dee8eded8b428d8e0fdf51418 Mon Sep 17 00:00:00 2001 From: Alistair Smith Date: Fri, 9 May 2025 19:52:00 -0700 Subject: [PATCH] accidental removal --- src/cli.zig | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/cli.zig b/src/cli.zig index 0bfb42a71f..579b9602fe 100644 --- a/src/cli.zig +++ b/src/cli.zig @@ -722,6 +722,12 @@ pub const Arguments = struct { ctx.runtime_options.redis_preconnect = true; } + if (args.flag("--no-addons")) { + // used for disabling process.dlopen and + // for disabling export condition "node-addons" + opts.allow_addons = false; + } + if (args.option("--port")) |port_str| { if (comptime cmd == .RunAsNodeCommand) { // TODO: prevent `node --port