Skip to content

Commit f8bbe4c

Browse files
committed
attempt to fix lint issues
1 parent 6b1f36d commit f8bbe4c

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

doc/api/n-api.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -5766,7 +5766,7 @@ The function checks enabled features for the module.
57665766
If `feature` parameter has multiple `napi_features` bit flags, then the
57675767
function returns `true` only when all the requested fatures are enabled.
57685768

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

57715771
## Memory management
57725772

src/node_api.h

+1-3
Original file line numberDiff line numberDiff line change
@@ -112,9 +112,7 @@ extern napi_features napi_module_features;
112112
priv, \
113113
NAPI_FEATURES_PTR{0}, \
114114
}; \
115-
NAPI_C_CTOR(_register_##modname) { \
116-
napi_module_register(&_module); \
117-
} \
115+
NAPI_C_CTOR(_register_##modname) { napi_module_register(&_module); } \
118116
EXTERN_C_END
119117

120118
#define NAPI_MODULE_INITIALIZER_X(base, version) \

0 commit comments

Comments
 (0)