Skip to content

Commit

Permalink
attempt to fix cpp linter issue
Browse files Browse the repository at this point in the history
  • Loading branch information
vmoroz committed Dec 16, 2022
1 parent 09b349b commit f5805cf
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/node_api.h
Original file line number Diff line number Diff line change
Expand Up @@ -201,9 +201,7 @@ typedef struct napi_module {
#else

#define NAPI_MODULE(modname, regfunc) \
NAPI_MODULE_INIT() { \
return regfunc(env, exports); \
}
NAPI_MODULE_INIT() { return regfunc(env, exports); }

#endif // __wasm32__

Expand Down

0 comments on commit f5805cf

Please sign in to comment.