Skip to content
Prev Previous commit
Next Next commit
lint
  • Loading branch information
eladkishon committed Apr 5, 2021
commit 54c6e38fd608a0d7d21d6fa54d81389c46191854
4 changes: 2 additions & 2 deletions lib/internal/errors.js
Original file line number Diff line number Diff line change
Expand Up @@ -429,8 +429,8 @@ function uvErrmapGet(name) {
}

function uvGetFullErrMap() {
uvBinding = lazyUv();
return uvBinding.getErrorMap();
uvBinding = lazyUv();
return uvBinding.getErrorMap();
}

const captureLargerStackTrace = hideStackFrames(
Expand Down
4 changes: 2 additions & 2 deletions lib/internal/util.js
Original file line number Diff line number Diff line change
Expand Up @@ -288,8 +288,8 @@ function getSystemErrorName(err) {
}

function getSystemErrorMap() {
return uvGetFullErrMap();
}
return uvGetFullErrMap();
}
Comment thread
EladKeyshawn marked this conversation as resolved.

const kCustomPromisifiedSymbol = SymbolFor('nodejs.util.promisify.custom');
const kCustomPromisifyArgsSymbol = Symbol('customPromisifyArgs');
Expand Down
2 changes: 1 addition & 1 deletion lib/util.js
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ function getSystemErrorName(err) {
}

Comment thread
EladKeyshawn marked this conversation as resolved.
function getSystemErrorMap() {
return internalErrorMap();
return internalErrorMap();
}
Comment thread
EladKeyshawn marked this conversation as resolved.
Outdated
// Keep the `exports =` so that various functions can still be monkeypatched
module.exports = {
Expand Down