0
0
mirror of https://github.com/nodejs/node.git synced 2024-12-01 16:10:02 +01:00

doc: fix NAPI typo

PR-URL: https://github.com/nodejs/node/pull/25216
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
This commit is contained in:
Philipp Renoth 2018-12-25 13:01:20 +01:00 committed by Vse Mozhet Byt
parent 9391638f88
commit 77db1e70dd

View File

@ -60,7 +60,7 @@ if (status != napi_ok) {
return;
}
status = napi_crate_string_utf8(env, "bar", NAPI_AUTO_LENGTH, &string);
status = napi_create_string_utf8(env, "bar", NAPI_AUTO_LENGTH, &string);
if (status != napi_ok) {
napi_throw_error(env, ...);
return;