Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
napi: initialize and check status properly
Initialize status to napi_generic_failure and only check it after having made an actual N-API call. This fixes up 8fbace1. PR-URL: #12283 Ref: #12279 Reviewed-By: Refael Ackermann <[email protected]>
- Loading branch information