From e71eed620a97140c1b864a53a660079569d1f442 Mon Sep 17 00:00:00 2001 From: raisinten Date: Mon, 7 Dec 2020 19:00:31 +0530 Subject: [PATCH] lib: fix typo in internal/errors.js PR-URL: https://github.com/nodejs/node/pull/36426 Reviewed-By: Antoine du Hamel Reviewed-By: Joyee Cheung Reviewed-By: Benjamin Gruenbaum Reviewed-By: James M Snell --- lib/internal/errors.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/internal/errors.js b/lib/internal/errors.js index 0ee39432e38ae1..447db182eb2ee3 100644 --- a/lib/internal/errors.js +++ b/lib/internal/errors.js @@ -414,7 +414,7 @@ function uvException(ctx) { message += ` -> '${dest}'`; } - // Reducing the limit improves the performance significantly. We do not loose + // Reducing the limit improves the performance significantly. We do not lose // the stack frames due to the `captureStackTrace()` function that is called // later. const tmpLimit = Error.stackTraceLimit; @@ -465,7 +465,7 @@ function uvExceptionWithHostPort(err, syscall, address, port) { details = ` ${address}`; } - // Reducing the limit improves the performance significantly. We do not loose + // Reducing the limit improves the performance significantly. We do not lose // the stack frames due to the `captureStackTrace()` function that is called // later. const tmpLimit = Error.stackTraceLimit; @@ -539,7 +539,7 @@ function exceptionWithHostPort(err, syscall, address, port, additional) { details += ` - Local (${additional})`; } - // Reducing the limit improves the performance significantly. We do not loose + // Reducing the limit improves the performance significantly. We do not lose // the stack frames due to the `captureStackTrace()` function that is called // later. const tmpLimit = Error.stackTraceLimit; @@ -584,7 +584,7 @@ function dnsException(code, syscall, hostname) { } } const message = `${syscall} ${code}${hostname ? ` ${hostname}` : ''}`; - // Reducing the limit improves the performance significantly. We do not loose + // Reducing the limit improves the performance significantly. We do not lose // the stack frames due to the `captureStackTrace()` function that is called // later. const tmpLimit = Error.stackTraceLimit;