From fc9ba36fb236e22b89d2af53c0d6c1212d941b51 Mon Sep 17 00:00:00 2001 From: gengjiawen Date: Wed, 27 Feb 2019 23:24:05 +0800 Subject: [PATCH] src: fix typo in callback.cc PR-URL: https://github.com/nodejs/node/pull/26337 Reviewed-By: Richard Lau Reviewed-By: Luigi Pinca Reviewed-By: James M Snell Reviewed-By: Ruben Bridgewater --- src/api/callback.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/api/callback.cc b/src/api/callback.cc index 4bcccb960c5556..6c6aec4573ed04 100644 --- a/src/api/callback.cc +++ b/src/api/callback.cc @@ -220,7 +220,7 @@ MaybeLocal MakeCallback(Isolate* isolate, MaybeLocal 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()); }