accidental removal

This commit is contained in:
Alistair Smith
2025-05-09 19:52:00 -07:00
parent 3512087684
commit 2cfec429f7

View File

@@ -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 <script>` from working