diff options
author | Tobias Nießen <tniessen@tnie.de> | 2018-01-02 00:06:01 +0100 |
---|---|---|
committer | Tobias Nießen <tniessen@tnie.de> | 2018-01-02 00:31:03 +0100 |
commit | 93acfe55dbf0447e9a780b2adc8373833d8884f6 (patch) | |
tree | 61dd78c4d0b32c0bf555ec164520455c9a6b8239 | |
parent | d74a1ed7d9e6eccd5d511ccb7becb17f3c03b88f (diff) | |
download | android-node-v8-93acfe55dbf0447e9a780b2adc8373833d8884f6.tar.gz android-node-v8-93acfe55dbf0447e9a780b2adc8373833d8884f6.tar.bz2 android-node-v8-93acfe55dbf0447e9a780b2adc8373833d8884f6.zip |
src: remove duplicate words in comments
PR-URL: https://github.com/nodejs/node/pull/17939
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Jon Moss <me@jonathanmoss.me>
Reviewed-By: James M Snell <jasnell@gmail.com>
-rw-r--r-- | src/async_wrap.cc | 2 | ||||
-rw-r--r-- | src/inspector_agent.h | 2 | ||||
-rw-r--r-- | src/node_api.h | 2 | ||||
-rw-r--r-- | src/node_main.cc | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/src/async_wrap.cc b/src/async_wrap.cc index 6276dac6ff..f770348b9c 100644 --- a/src/async_wrap.cc +++ b/src/async_wrap.cc @@ -329,7 +329,7 @@ static void PromiseHook(PromiseHookType type, Local<Promise> promise, if (env->execution_async_id() == wrap->get_async_id()) { // This condition might not be true if async_hooks was enabled during // the promise callback execution. - // Popping it off the stack can be skipped in that case, because is is + // Popping it off the stack can be skipped in that case, because it is // known that it would correspond to exactly one call with // PromiseHookType::kBefore that was not witnessed by the PromiseHook. env->async_hooks()->pop_async_id(wrap->get_async_id()); diff --git a/src/inspector_agent.h b/src/inspector_agent.h index 1d632ea8f8..0555f5e18c 100644 --- a/src/inspector_agent.h +++ b/src/inspector_agent.h @@ -83,7 +83,7 @@ class Agent { return io_.get(); } - // Can only be called from the the main thread. + // Can only be called from the main thread. bool StartIoThread(bool wait_for_connect); // Calls StartIoThread() from off the main thread. diff --git a/src/node_api.h b/src/node_api.h index ee0ad3518e..c752705169 100644 --- a/src/node_api.h +++ b/src/node_api.h @@ -177,7 +177,7 @@ NAPI_EXTERN napi_status napi_create_range_error(napi_env env, napi_value msg, napi_value* result); -// Methods to get the the native napi_value from Primitive type +// Methods to get the native napi_value from Primitive type NAPI_EXTERN napi_status napi_typeof(napi_env env, napi_value value, napi_valuetype* result); diff --git a/src/node_main.cc b/src/node_main.cc index 2a511b9299..7ab612d53e 100644 --- a/src/node_main.cc +++ b/src/node_main.cc @@ -34,7 +34,7 @@ int wmain(int argc, wchar_t *wargv[]) { exit(ERROR_EXE_MACHINE_TYPE_MISMATCH); } - // Convert argv to to UTF8 + // Convert argv to UTF8 char** argv = new char*[argc + 1]; for (int i = 0; i < argc; i++) { // Compute the size of the required buffer |