Skip to content

Commit cde8bac

Browse files
authored
Merge pull request #1043 from nikhilnishadoo7/fix/typo-overridden-word
fix/typo-overridden-word
2 parents 87f001b + 00bb455 commit cde8bac

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bcrypt.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,13 +35,13 @@ module.exports.genSalt = function genSalt(rounds, minor, cb) {
3535

3636
// if callback is first argument, then use defaults for others
3737
if (typeof arguments[0] === 'function') {
38-
// have to set callback first otherwise arguments are overriden
38+
// have to set callback first otherwise arguments are overridden
3939
cb = arguments[0];
4040
rounds = 10;
4141
minor = 'b';
4242
// callback is second argument
4343
} else if (typeof arguments[1] === 'function') {
44-
// have to set callback first otherwise arguments are overriden
44+
// have to set callback first otherwise arguments are overridden
4545
cb = arguments[1];
4646
minor = 'b';
4747
}

0 commit comments

Comments
 (0)