|
| 1 | +diff --git forkSrcPrefix/src/node_options.cc forkDstPrefix/src/node_options.cc |
| 2 | +index d3b59690e917afcf725cbfb1232d6ed9f298ee3a..2b055cad524d6c0ab16d950f7b51d640187c784e 100644 |
| 3 | +--- forkSrcPrefix/src/node_options.cc |
| 4 | ++++ forkDstPrefix/src/node_options.cc |
| 5 | +@@ -355,6 +355,9 @@ DebugOptionsParser::DebugOptionsParser() { |
| 6 | + } |
| 7 | + |
| 8 | + EnvironmentOptionsParser::EnvironmentOptionsParser() { |
| 9 | ++ AddOption("--start-node", "cfx", &EnvironmentOptions::cfx); |
| 10 | ++ AddOption("--fork-node22", "cfx", &EnvironmentOptions::cfx); |
| 11 | ++ |
| 12 | + AddOption("--conditions", |
| 13 | + "additional user conditions for conditional exports and imports", |
| 14 | + &EnvironmentOptions::conditions, |
| 15 | +diff --git forkSrcPrefix/src/node_options.h forkDstPrefix/src/node_options.h |
| 16 | +index fc7f898a6b9b6072c15d77710c20ed1ba580966b..50e21ab6a71bacceec6919669ee002dbeeb87039 100644 |
| 17 | +--- forkSrcPrefix/src/node_options.h |
| 18 | ++++ forkDstPrefix/src/node_options.h |
| 19 | +@@ -116,6 +116,7 @@ class EnvironmentOptions : public Options { |
| 20 | + bool abort_on_uncaught_exception = false; |
| 21 | + std::vector<std::string> conditions; |
| 22 | + bool detect_module = true; |
| 23 | ++ bool cfx = true; |
| 24 | + bool print_required_tla = false; |
| 25 | + bool require_module = false; |
| 26 | + std::string dns_result_order; |
0 commit comments