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 9d6a322 commit c4f371bCopy full SHA for c4f371b
src/node_contextify.cc
@@ -1648,10 +1648,10 @@ 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
// If cached_data is provided, it would be used for the compilation and
1657
// the on-disk compilation cache from NODE_COMPILE_CACHE (if configured)
0 commit comments