Skip to content

Commit f73a0a8

Browse files
RaisinTendanielleadams
authored andcommitted
lib: fix typo in internal/errors.js
PR-URL: #36426 Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
1 parent 197ba21 commit f73a0a8

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

lib/internal/errors.js

+4-4
Original file line numberDiff line numberDiff line change
@@ -438,7 +438,7 @@ function uvException(ctx) {
438438
message += ` -> '${dest}'`;
439439
}
440440

441-
// Reducing the limit improves the performance significantly. We do not loose
441+
// Reducing the limit improves the performance significantly. We do not lose
442442
// the stack frames due to the `captureStackTrace()` function that is called
443443
// later.
444444
const tmpLimit = Error.stackTraceLimit;
@@ -489,7 +489,7 @@ function uvExceptionWithHostPort(err, syscall, address, port) {
489489
details = ` ${address}`;
490490
}
491491

492-
// Reducing the limit improves the performance significantly. We do not loose
492+
// Reducing the limit improves the performance significantly. We do not lose
493493
// the stack frames due to the `captureStackTrace()` function that is called
494494
// later.
495495
const tmpLimit = Error.stackTraceLimit;
@@ -563,7 +563,7 @@ function exceptionWithHostPort(err, syscall, address, port, additional) {
563563
details += ` - Local (${additional})`;
564564
}
565565

566-
// Reducing the limit improves the performance significantly. We do not loose
566+
// Reducing the limit improves the performance significantly. We do not lose
567567
// the stack frames due to the `captureStackTrace()` function that is called
568568
// later.
569569
const tmpLimit = Error.stackTraceLimit;
@@ -608,7 +608,7 @@ function dnsException(code, syscall, hostname) {
608608
}
609609
}
610610
const message = `${syscall} ${code}${hostname ? ` ${hostname}` : ''}`;
611-
// Reducing the limit improves the performance significantly. We do not loose
611+
// Reducing the limit improves the performance significantly. We do not lose
612612
// the stack frames due to the `captureStackTrace()` function that is called
613613
// later.
614614
const tmpLimit = Error.stackTraceLimit;

0 commit comments

Comments
 (0)