diff options
author | Joyee Cheung <joyeec9h3@gmail.com> | 2017-10-22 14:05:26 +0800 |
---|---|---|
committer | Joyee Cheung <joyeec9h3@gmail.com> | 2017-10-30 17:28:07 +0800 |
commit | 390eda100dac76be797bb5cba2d23f68b695a3e3 (patch) | |
tree | 6336f9c49bc0de948a33d604e60d6604329ea45f /doc/api/addons.md | |
parent | 6f684d95784ec30baa9d3daa98919f1e1bd47631 (diff) | |
download | android-node-v8-390eda100dac76be797bb5cba2d23f68b695a3e3.tar.gz android-node-v8-390eda100dac76be797bb5cba2d23f68b695a3e3.tar.bz2 android-node-v8-390eda100dac76be797bb5cba2d23f68b695a3e3.zip |
build: make test-doc and lint addon docs
- Implements the make test-doc target that build, verify
and lint docs
- Lint the C++ snippets in addon docs
- When generating addons and running the JS linter,
use the global node executable if it is not built.
Therefore one does not have to build node in order to
run make test-doc.
PR-URL: https://github.com/nodejs/node/pull/16377
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Refael Ackermann <refack@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 3fd2ff5651..3dd98e3e73 100644 --- a/doc/api/addons.md +++ b/doc/api/addons.md @@ -1095,7 +1095,7 @@ static void at_exit_cb1(void* arg) { Isolate* isolate = static_cast<Isolate*>(arg); HandleScope scope(isolate); Local<Object> obj = Object::New(isolate); - assert(!obj.IsEmpty()); // assert VM is still alive + assert(!obj.IsEmpty()); // assert VM is still alive assert(obj->IsObject()); at_exit_cb1_called++; } |