Skip to content

Commit 1f8b831

Browse files
tniessenMylesBorins
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 38e4dd1 commit 1f8b831

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

src/async_wrap.cc

+1-1
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

+1-1
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
bool StartIoThread(bool wait_for_connect);
8888

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

src/node_api.h

+1-1
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_value msg,
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_EXTERN napi_status napi_typeof(napi_env env,
184184
napi_value value,
185185
napi_valuetype* result);

src/node_main.cc

+1-1
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 = new char*[argc + 1];
3939
for (int i = 0; i < argc; i++) {
4040
// Compute the size of the required buffer

0 commit comments

Comments
 (0)