Skip to content

Commit aa75190

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 0ad783a commit aa75190

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
@@ -328,7 +328,7 @@ static void PromiseHook(PromiseHookType type, Local<Promise> promise,
328328
if (env->execution_async_id() == wrap->get_async_id()) {
329329
// This condition might not be true if async_hooks was enabled during
330330
// the promise callback execution.
331-
// Popping it off the stack can be skipped in that case, because is is
331+
// Popping it off the stack can be skipped in that case, because it is
332332
// known that it would correspond to exactly one call with
333333
// PromiseHookType::kBefore that was not witnessed by the PromiseHook.
334334
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
@@ -177,7 +177,7 @@ NAPI_EXTERN napi_status napi_create_range_error(napi_env env,
177177
napi_value msg,
178178
napi_value* result);
179179

180-
// Methods to get the the native napi_value from Primitive type
180+
// Methods to get the native napi_value from Primitive type
181181
NAPI_EXTERN napi_status napi_typeof(napi_env env,
182182
napi_value value,
183183
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)