Skip to content
This repository has been archived by the owner on Jan 3, 2024. It is now read-only.

Commit

Permalink
patches: fix toLocalChecked use in 18.13.0 (#273)
Browse files Browse the repository at this point in the history
  • Loading branch information
baparham authored Feb 5, 2023
1 parent 079c6f6 commit 34522ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion patches/node.v18.13.0.cpp.patch
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,7 @@
+
+ if (sourceless && compile_options == ScriptCompiler::kConsumeCodeCache) {
+ if (!source.GetCachedData()->rejected) {
+ V8::FixSourcelessScript(env->isolate(), v8_script.ToLocalChecked());
+ V8::FixSourcelessScript(env->isolate(), v8_script);
+ }
+ }
+
Expand Down

0 comments on commit 34522ec

Please sign in to comment.