From f73a0a8069bff6839648078dda3db06bc74e63ff 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 cff0e9d563c5f7..d608ca42a09b75 100644 --- a/lib/internal/errors.js +++ b/lib/internal/errors.js @@ -438,7 +438,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; @@ -489,7 +489,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; @@ -563,7 +563,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; @@ -608,7 +608,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;