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: #54890
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
  • 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.