Skip to content
This repository has been archived by the owner on Oct 15, 2020. It is now read-only.

Commit

Permalink
napi,jsrt: fixed erroneous version number when registering napi modules
Browse files Browse the repository at this point in the history
  • Loading branch information
MSLaguana committed Sep 28, 2017
1 parent 219ed70 commit 00ff650
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/node_api_jsrt.cc
Original file line number Diff line number Diff line change
Expand Up @@ -564,7 +564,7 @@ void napi_module_register(napi_module* mod) {
int module_version = NODE_MODULE_VERSION;

node::node_module* nm = new node::node_module {
module_version,
-1,
mod->nm_flags,
nullptr,
mod->nm_filename,
Expand Down

0 comments on commit 00ff650

Please sign in to comment.