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 1dfd431 commit 5091b3fCopy full SHA for 5091b3f
1 file changed
src/node_contextify.cc
@@ -1453,8 +1453,9 @@ static std::vector<std::string_view> throws_only_in_cjs_error_messages = {
1453
"await is only valid in async functions and "
1454
"the top level bodies of modules"};
1455
1456
-// If cached_data is provided, this instead of the on-disk compilation cache
1457
-// from NODE_COMPILE_CACHE would be used.
+// If cached_data is provided, it would be used for the compilation and
+// the on-disk compilation cache from NODE_COMPILE_CACHE (if configured)
1458
+// would be ignored.
1459
static MaybeLocal<Function> CompileFunctionForCJSLoader(
1460
Environment* env,
1461
Local<Context> context,
0 commit comments