Skip to content

Commit 2c6f482

Browse files
tniessenrvagg
authored andcommitted
src: remove duplicate words in comments
PR-URL: #17939 Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Jon Moss <[email protected]> Reviewed-By: James M Snell <[email protected]>
1 parent 7d263ff commit 2c6f482

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

‎src/async_wrap.cc‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -351,7 +351,7 @@ static void PromiseHook(PromiseHookType type, Local<Promise> promise,
351351
if (env->execution_async_id() == wrap->get_async_id()){
352352
// This condition might not be true if async_hooks was enabled during
353353
// the promise callback execution.
354-
// Popping it off the stack can be skipped in that case, because is is
354+
// Popping it off the stack can be skipped in that case, because it is
355355
// known that it would correspond to exactly one call with
356356
// PromiseHookType::kBefore that was not witnessed by the PromiseHook.
357357
env->async_hooks()->pop_async_id(wrap->get_async_id());

‎src/inspector_agent.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ class Agent{
8383
return io_.get();
8484
}
8585

86-
// Can only be called from the the main thread.
86+
// Can only be called from the main thread.
8787
boolStartIoThread(bool wait_for_connect);
8888

8989
// Calls StartIoThread() from off the main thread.

‎src/node_api.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ NAPI_EXTERN napi_status napi_create_range_error(napi_env env,
179179
napi_valuemsg,
180180
napi_value*result);
181181

182-
// Methods to get the the native napi_value from Primitive type
182+
// Methods to get the native napi_value from Primitive type
183183
NAPI_EXTERNnapi_statusnapi_typeof(napi_envenv,
184184
napi_valuevalue,
185185
napi_valuetype*result);

‎src/node_main.cc‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ int wmain(int argc, wchar_t *wargv[]){
3434
exit(ERROR_EXE_MACHINE_TYPE_MISMATCH);
3535
}
3636

37-
// Convert argv to to UTF8
37+
// Convert argv to UTF8
3838
char** argv = newchar*[argc + 1];
3939
for (int i = 0; i < argc; i++){
4040
// Compute the size of the required buffer

0 commit comments

Comments
(0)