Skip to content

Commit

Permalink
fix a typo
Browse files Browse the repository at this point in the history
  • Loading branch information
mmomtchev committed Apr 21, 2022
1 parent c3e72f9 commit 4be3e5c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/cpp/news.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ NAN_METHOD(NewScript) {

NAN_METHOD(NewScript2) {
v8::ScriptOrigin origin(
#if NODE_MODULE_VERSION >= NODE_18_MODULE_VERSION
#if NODE_MODULE_VERSION >= NODE_18_0_MODULE_VERSION
info.GetIsolate(),
#endif
New<v8::String>("x").ToLocalChecked());
Expand All @@ -136,7 +136,7 @@ NAN_METHOD(CompileScript) {

NAN_METHOD(CompileScript2) {
v8::ScriptOrigin origin(
#if NODE_MODULE_VERSION >= NODE_18_MODULE_VERSION
#if NODE_MODULE_VERSION >= NODE_18_0_MODULE_VERSION
info.GetIsolate(),
#endif
New<v8::String>("x").ToLocalChecked());
Expand Down

0 comments on commit 4be3e5c

Please sign in to comment.