Skip to content

Commit

Permalink
doc: fix a typo in n-api documentation
Browse files Browse the repository at this point in the history
Backport-PR-URL: #19447
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 MylesBorins committed Apr 16, 2018
1 parent d4c04e0 commit 55fabd7
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 55fabd7

Please sign in to comment.