Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit e40c3f7

Browse files
iSkoreMylesBorins
authored andcommittedFeb 21, 2018
doc: small typo in n-api.md
PR-URL: #18555 Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Jon Moss <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Gireesh Punathil <[email protected]> Reviewed-By: Daniel Bevenius <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Evan Lucas <[email protected]>
1 parent 7b1a9b2 commit e40c3f7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎doc/api/n-api.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -918,7 +918,7 @@ For example, to set a function to be returned by the `require()` for the addon:
918918
napi_value Init(napi_env env, napi_value exports) {
919919
napi_value method;
920920
napi_status status;
921-
status = napi_create_function(env, "exports", Method, NULL, &method));
921+
status = napi_create_function(env, "exports", Method, NULL, &method);
922922
if (status != napi_ok) return NULL;
923923
return method;
924924
}

0 commit comments

Comments
 (0)