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 <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Ruben Bridgewater <[email protected]>
  • 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
Original file line number Diff line number Diff line change
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.