From a25d0fabe481a034afaea83e9a32dbf2bf05e0f7 Mon Sep 17 00:00:00 2001 From: caioagiani Date: Sun, 30 Jan 2022 00:45:19 -0300 Subject: [PATCH] src: fix typo in js_native_api_v8.cc --- src/js_native_api_v8.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/js_native_api_v8.cc b/src/js_native_api_v8.cc index 699bc0f68e4a17..1c29c43836a0c3 100644 --- a/src/js_native_api_v8.cc +++ b/src/js_native_api_v8.cc @@ -16,7 +16,7 @@ #define CHECK_TO_NUMBER(env, context, result, src) \ CHECK_TO_TYPE((env), Number, (context), (result), (src), napi_number_expected) -// n-api defines NAPI_AUTO_LENGHTH as the indicator that a string +// n-api defines NAPI_AUTO_LENGTH as the indicator that a string // is null terminated. For V8 the equivalent is -1. The assert // validates that our cast of NAPI_AUTO_LENGTH results in -1 as // needed by V8.