Skip to content

Commit 5091b3f

Browse files
authored
fixup! src: refactor embedded entrypoint loading
1 parent 1dfd431 commit 5091b3f

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

src/node_contextify.cc

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1453,8 +1453,9 @@ static std::vector<std::string_view> throws_only_in_cjs_error_messages = {
14531453
"await is only valid in async functions and "
14541454
"the top level bodies of modules"};
14551455

1456-
// If cached_data is provided, this instead of the on-disk compilation cache
1457-
// from NODE_COMPILE_CACHE would be used.
1456+
// If cached_data is provided, it would be used for the compilation and
1457+
// the on-disk compilation cache from NODE_COMPILE_CACHE (if configured)
1458+
// would be ignored.
14581459
static MaybeLocal<Function> CompileFunctionForCJSLoader(
14591460
Environment* env,
14601461
Local<Context> context,

0 commit comments

Comments
 (0)