diff --git a/doc/node-config-schema.json b/doc/node-config-schema.json index a78031061dca87..414943e571d839 100644 --- a/doc/node-config-schema.json +++ b/doc/node-config-schema.json @@ -242,7 +242,7 @@ }, "experimental-print-required-tla": { "type": "boolean", - "description": "Print pending top-level await. If --require-module is true, evaluate asynchronous graphs loaded by `require()` but do not run the microtasks, in order to to find and print top-level await in the graph" + "description": "Print pending top-level await. If --require-module is true, evaluate asynchronous graphs loaded by `require()` but do not run the microtasks, in order to find and print top-level await in the graph" }, "experimental-repl-await": { "type": "boolean", diff --git a/src/node_options.cc b/src/node_options.cc index 16fb1ba34e5050..ca12586e479b99 100644 --- a/src/node_options.cc +++ b/src/node_options.cc @@ -524,7 +524,7 @@ EnvironmentOptionsParser::EnvironmentOptionsParser() { AddOption("--experimental-print-required-tla", "Print pending top-level await. If --require-module " "is true, evaluate asynchronous graphs loaded by `require()` but " - "do not run the microtasks, in order to to find and print " + "do not run the microtasks, in order to find and print " "top-level await in the graph", &EnvironmentOptions::print_required_tla, kAllowedInEnvvar);