Skip to content
Permalink
Browse files

doc: fix NAPI typo

PR-URL: #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>
  • Loading branch information...
DaAitch authored and targos committed Dec 25, 2018
1 parent b7b1d7e commit 2c50bcda8a472587c257baea7364a1462385adf5
Showing with 1 addition and 1 deletion.
  1. +1 −1 doc/api/n-api.md
@@ -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;

0 comments on commit 2c50bcd

Please sign in to comment.
You can’t perform that action at this time.