diff options
author | Gabriel Schulhof <gabriel.schulhof@intel.com> | 2017-05-09 13:53:29 +0300 |
---|---|---|
committer | Anna Henningsen <anna@addaleax.net> | 2017-05-15 21:33:06 +0300 |
commit | 276720921ba8b4428d3832867e8c6474156a75d1 (patch) | |
tree | c6bce81f7e022a0af28c8b6d2a72697a692fd169 /doc/api/addons.md | |
parent | b23d414c7ec0674ba3cbb36427e4c29dbd396338 (diff) |
addons: remove semicolons from after module definition
Having semicolons there runs counter to our documentation and illicits
warnings in pedantic mode. This removes semicolons from after uses of
NODE_MODULE and NODE_MODULE_CONTEXT_AWARE_BUILTIN.
PR-URL: https://github.com/nodejs/node/pull/12919
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
Reviewed-By: Alexey Orlenko <eaglexrlnk@gmail.com>
Diffstat (limited to 'doc/api/addons.md')
-rw-r--r-- | doc/api/addons.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/api/addons.md b/doc/api/addons.md index 1799cf7e5d4..772c3c77645 100644 --- a/doc/api/addons.md +++ b/doc/api/addons.md @@ -1116,7 +1116,7 @@ void init(Local<Object> exports) { AtExit(at_exit_cb1, exports->GetIsolate()); } -NODE_MODULE(addon, init); +NODE_MODULE(addon, init) } // namespace demo ``` |