mirror of
https://github.com/nodejs/node.git
synced 2024-12-01 16:10:02 +01:00
src: fix -Wbraced-scalar-init warning
PR-URL: https://github.com/nodejs/node/pull/31254 Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: David Carlier <devnexen@gmail.com> Reviewed-By: Jiawen Geng <technicalcute@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
This commit is contained in:
parent
60026c7d9d
commit
e468759c7d
@ -325,7 +325,7 @@ EnvironmentOptionsParser::EnvironmentOptionsParser() {
|
||||
&EnvironmentOptions::userland_loader,
|
||||
kAllowedInEnvironment);
|
||||
AddAlias("--loader", "--experimental-loader");
|
||||
AddAlias("--experimental-modules", { "--experimental-conditional-exports" });
|
||||
AddAlias("--experimental-modules", "--experimental-conditional-exports");
|
||||
AddOption("--experimental-conditional-exports",
|
||||
"experimental support for conditional exports targets",
|
||||
&EnvironmentOptions::experimental_conditional_exports,
|
||||
|
Loading…
Reference in New Issue
Block a user