Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit f5352f6

Browse files
sygtpoisseau
authored andcommittedNov 21, 2024
esm: remove --no-import-harmony-assertions
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]>
1 parent fc1237b commit f5352f6

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed
 

‎src/node.cc

-3
Original file line numberDiff line numberDiff line change
@@ -753,9 +753,6 @@ static ExitCode ProcessGlobalArgsInternal(std::vector<std::string>* args,
753753
"--no-harmony-import-attributes") == v8_args.end()) {
754754
v8_args.emplace_back("--harmony-import-attributes");
755755
}
756-
// TODO(nicolo-ribaudo): remove this once V8 doesn't enable it by default
757-
// anymore.
758-
v8_args.emplace_back("--no-harmony-import-assertions");
759756

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

0 commit comments

Comments
 (0)
Please sign in to comment.