Skip to content

Commit

Permalink
src: use correct variable in node_builtins.cc
Browse files Browse the repository at this point in the history
  • Loading branch information
targos committed Apr 4, 2023
1 parent af8ed02 commit eaf854e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/node_builtins.cc
Original file line number Diff line number Diff line change
Expand Up @@ -586,13 +586,13 @@ void BuiltinLoader::GetCacheUsage(const FunctionCallbackInfo<Value>& args) {
}

if (!ToV8Value(context, realm->builtins_in_snapshot)
.ToLocal(&builtins_without_cache_js)) {
.ToLocal(&builtins_in_snapshot_js)) {
return;
}
if (result
->Set(context,
OneByteString(isolate, "compiledInSnapshot"),
builtins_without_cache_js)
builtins_in_snapshot_js)
.IsNothing()) {
return;
}
Expand Down

0 comments on commit eaf854e

Please sign in to comment.