Skip to content

Commit

Permalink
esm: remove --no-import-harmony-assertions
Browse files Browse the repository at this point in the history
It is off by default now.

PR-URL: nodejs#54890
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: Yagiz Nizipli <[email protected]>
Reviewed-By: Antoine du Hamel <[email protected]>
Reviewed-By: James M Snell <[email protected]>
  • Loading branch information
syg authored Sep 13, 2024
1 parent e783729 commit 8fd9093
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/node.cc
Original file line number Diff line number Diff line change
Expand Up @@ -753,9 +753,6 @@ static ExitCode ProcessGlobalArgsInternal(std::vector<std::string>* args,
"--no-harmony-import-attributes") == v8_args.end()) {
v8_args.emplace_back("--harmony-import-attributes");
}
// TODO(nicolo-ribaudo): remove this once V8 doesn't enable it by default
// anymore.
v8_args.emplace_back("--no-harmony-import-assertions");

auto env_opts = per_process::cli_options->per_isolate->per_env;
if (std::find(v8_args.begin(), v8_args.end(),
Expand Down

0 comments on commit 8fd9093

Please sign in to comment.