src: fix typo in callback.cc
PR-URL: https://github.com/nodejs/node/pull/26337 Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
This commit is contained in:
parent
2bf6e71d9e
commit
5e23bac9dd
@ -220,7 +220,7 @@ MaybeLocal<Value> MakeCallback(Isolate* isolate,
|
|||||||
MaybeLocal<Value> ret =
|
MaybeLocal<Value> ret =
|
||||||
InternalMakeCallback(env, recv, callback, argc, argv, asyncContext);
|
InternalMakeCallback(env, recv, callback, argc, argv, asyncContext);
|
||||||
if (ret.IsEmpty() && env->makecallback_depth() == 0) {
|
if (ret.IsEmpty() && env->makecallback_depth() == 0) {
|
||||||
// This is only for legacy compatiblity and we may want to look into
|
// This is only for legacy compatibility and we may want to look into
|
||||||
// removing/adjusting it.
|
// removing/adjusting it.
|
||||||
return Undefined(env->isolate());
|
return Undefined(env->isolate());
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user