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:
parent
9391638f88
commit
77db1e70dd
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user