Skip to content

Commit e71eed6

Browse files
RaisinTentargos
authored andcommitted
lib: fix typo in internal/errors.js
PR-URL: #36426 Reviewed-By: Antoine du Hamel <[email protected]> Reviewed-By: Joyee Cheung <[email protected]> Reviewed-By: Benjamin Gruenbaum <[email protected]> Reviewed-By: James M Snell <[email protected]>
1 parent 736b575 commit e71eed6

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
@@ -414,7 +414,7 @@ function uvException(ctx) {
414414
message += ` -> '${dest}'`;
415415
}
416416

417-
// Reducing the limit improves the performance significantly. We do not loose
417+
// Reducing the limit improves the performance significantly. We do not lose
418418
// the stack frames due to the `captureStackTrace()` function that is called
419419
// later.
420420
const tmpLimit = Error.stackTraceLimit;
@@ -465,7 +465,7 @@ function uvExceptionWithHostPort(err, syscall, address, port) {
465465
details = ` ${address}`;
466466
}
467467

468-
// Reducing the limit improves the performance significantly. We do not loose
468+
// Reducing the limit improves the performance significantly. We do not lose
469469
// the stack frames due to the `captureStackTrace()` function that is called
470470
// later.
471471
const tmpLimit = Error.stackTraceLimit;
@@ -539,7 +539,7 @@ function exceptionWithHostPort(err, syscall, address, port, additional) {
539539
details += ` - Local (${additional})`;
540540
}
541541

542-
// Reducing the limit improves the performance significantly. We do not loose
542+
// Reducing the limit improves the performance significantly. We do not lose
543543
// the stack frames due to the `captureStackTrace()` function that is called
544544
// later.
545545
const tmpLimit = Error.stackTraceLimit;
@@ -584,7 +584,7 @@ function dnsException(code, syscall, hostname) {
584584
}
585585
}
586586
const message = `${syscall} ${code}${hostname ? ` ${hostname}` : ''}`;
587-
// Reducing the limit improves the performance significantly. We do not loose
587+
// Reducing the limit improves the performance significantly. We do not lose
588588
// the stack frames due to the `captureStackTrace()` function that is called
589589
// later.
590590
const tmpLimit = Error.stackTraceLimit;

0 commit comments

Comments
 (0)