Skip to content

Commit

Permalink
fix node_api.cc formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
vmoroz committed Apr 7, 2023
1 parent 722dbc5 commit 830a9c0
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions src/node_api.cc
Original file line number Diff line number Diff line change
Expand Up @@ -626,12 +626,11 @@ static void napi_module_register_cb(v8::Local<v8::Object> exports,
v8::Local<v8::Context> context,
void* priv) {
const napi_module* napi_mod = static_cast<const napi_module*>(priv);
napi_module_register_by_symbol(
exports,
module,
context,
napi_mod->nm_register_func,
NAPI_DEFAULT_MODULE_API_VERSION);
napi_module_register_by_symbol(exports,
module,
context,
napi_mod->nm_register_func,
NAPI_DEFAULT_MODULE_API_VERSION);
}

void napi_module_register_by_symbol(v8::Local<v8::Object> exports,
Expand Down

0 comments on commit 830a9c0

Please sign in to comment.