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: nodejs#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 Gabriel Schulhof committed Apr 16, 2018
1 parent cc202a5 commit bfeeeb3
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 bfeeeb3

Please sign in to comment.