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 4, 2019
1 parent 51d12e2 commit fc49173
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 fc49173

Please sign in to comment.