Skip to content

Commit

Permalink
attempt to fix lint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
vmoroz committed Oct 10, 2022
1 parent 6b1f36d commit f8bbe4c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion doc/api/n-api.md
Original file line number Diff line number Diff line change
Expand Up @@ -5766,7 +5766,7 @@ The function checks enabled features for the module.
If `feature` parameter has multiple `napi_features` bit flags, then the
function returns `true` only when all the requested fatures are enabled.

See [`napi_features`][] for more details about Node-API features.
See `napi_features` for more details about Node-API features.

## Memory management

Expand Down
4 changes: 1 addition & 3 deletions src/node_api.h
Original file line number Diff line number Diff line change
Expand Up @@ -112,9 +112,7 @@ extern napi_features napi_module_features;
priv, \
NAPI_FEATURES_PTR{0}, \
}; \
NAPI_C_CTOR(_register_##modname) { \
napi_module_register(&_module); \
} \
NAPI_C_CTOR(_register_##modname) { napi_module_register(&_module); } \
EXTERN_C_END

#define NAPI_MODULE_INITIALIZER_X(base, version) \
Expand Down

0 comments on commit f8bbe4c

Please sign in to comment.