Skip to content

Commit

Permalink
src: fix typo in callback.cc
Browse files Browse the repository at this point in the history
PR-URL: #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>
  • Loading branch information
gengjiawen authored and BridgeAR committed Mar 5, 2019
1 parent 63942de commit fc9ba36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/api/callback.cc
Expand Up @@ -220,7 +220,7 @@ MaybeLocal<Value> MakeCallback(Isolate* isolate,
MaybeLocal<Value> ret =
InternalMakeCallback(env, recv, callback, argc, argv, asyncContext);
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.
return Undefined(env->isolate());
}
Expand Down

0 comments on commit fc9ba36

Please sign in to comment.