We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 904a081 commit da74e0bCopy full SHA for da74e0b
src/node_contextify.cc
@@ -1648,10 +1648,12 @@ static const auto throws_only_in_cjs_error_messages =
1648
"the top level bodies of modules"};
1649
1650
static const auto maybe_top_level_await_errors =
1651
- std::array<std::string_view, 2>{// example: `func(await 1);`
1652
- "missing ) after argument list",
1653
- // example: `if(await 1)`
1654
- "SyntaxError: Unexpected"};
+ std::array<std::string_view, 2>{
+ "missing ) after argument list", // example: `func(await 1);`
+ "SyntaxError: Unexpected" // example: `if(await 1)`
+ };
1655
+
1656
1657
1658
// If cached_data is provided, it would be used for the compilation and
1659
// the on-disk compilation cache from NODE_COMPILE_CACHE (if configured)
0 commit comments