From 00bb455544534cfc5ded6b895c89b861eb33e61c Mon Sep 17 00:00:00 2001 From: nikhilnishadoo7 Date: Tue, 25 Jun 2024 23:05:41 +0530 Subject: [PATCH] fix/typo-overridden-word --- bcrypt.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bcrypt.js b/bcrypt.js index 923edca..bb4d141 100644 --- a/bcrypt.js +++ b/bcrypt.js @@ -35,13 +35,13 @@ module.exports.genSalt = function genSalt(rounds, minor, cb) { // if callback is first argument, then use defaults for others if (typeof arguments[0] === 'function') { - // have to set callback first otherwise arguments are overriden + // have to set callback first otherwise arguments are overridden cb = arguments[0]; rounds = 10; minor = 'b'; // callback is second argument } else if (typeof arguments[1] === 'function') { - // have to set callback first otherwise arguments are overriden + // have to set callback first otherwise arguments are overridden cb = arguments[1]; minor = 'b'; }