Skip to content

Commit 21c61e8

Browse files
committed
attempt to fix cpp linter issue
1 parent 0a8d523 commit 21c61e8

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/node_api.h

+1-3
Original file line numberDiff line numberDiff line change
@@ -201,9 +201,7 @@ typedef struct napi_module {
201201
#else
202202

203203
#define NAPI_MODULE(modname, regfunc) \
204-
NAPI_MODULE_INIT() { \
205-
return regfunc(env, exports); \
206-
}
204+
NAPI_MODULE_INIT() { return regfunc(env, exports); }
207205

208206
#endif // __wasm32__
209207

0 commit comments

Comments
 (0)