summaryrefslogtreecommitdiff
path: root/test/addons/hello-world-function-export
diff options
context:
space:
mode:
authorGabriel Schulhof <gabriel.schulhof@intel.com>2017-05-09 13:53:29 +0300
committerAnna Henningsen <anna@addaleax.net>2017-05-15 20:33:06 +0200
commit276720921ba8b4428d3832867e8c6474156a75d1 (patch)
treec6bce81f7e022a0af28c8b6d2a72697a692fd169 /test/addons/hello-world-function-export
parentb23d414c7ec0674ba3cbb36427e4c29dbd396338 (diff)
downloadandroid-node-v8-276720921ba8b4428d3832867e8c6474156a75d1.tar.gz
android-node-v8-276720921ba8b4428d3832867e8c6474156a75d1.tar.bz2
android-node-v8-276720921ba8b4428d3832867e8c6474156a75d1.zip
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 'test/addons/hello-world-function-export')
-rw-r--r--test/addons/hello-world-function-export/binding.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/addons/hello-world-function-export/binding.cc b/test/addons/hello-world-function-export/binding.cc
index fa2cbc59a0..c113e0489b 100644
--- a/test/addons/hello-world-function-export/binding.cc
+++ b/test/addons/hello-world-function-export/binding.cc
@@ -11,4 +11,4 @@ void init(v8::Local<v8::Object> exports, v8::Local<v8::Object> module) {
NODE_SET_METHOD(module, "exports", Method);
}
-NODE_MODULE(binding, init);
+NODE_MODULE(binding, init)