Skip to content

Commit

Permalink
doc: fix a typo in n-api documentation
Browse files Browse the repository at this point in the history
PR-URL: #16879
Reviewed-By: Gireesh Punathil <[email protected]>
Reviewed-By: Daniel Bevenius <[email protected]>
Reviewed-By: Rich Trott <[email protected]>
  • Loading branch information
vipinmenon authored and Trott committed Nov 8, 2017
1 parent eebcb48 commit f2cb78c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/api/n-api.md
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ must be called in order to determine if an exception is pending or not.

When an exception is pending one of two approaches can be employed.

The first appoach is to do any appropriate cleanup and then return so that
The first approach is to do any appropriate cleanup and then return so that
execution will return to JavaScript. As part of the transition back to
JavaScript the exception will be thrown at the point in the JavaScript
code where the native method was invoked. The behavior of most N-API calls
Expand Down

0 comments on commit f2cb78c

Please sign in to comment.