Skip to content

Commit

Permalink
Update index.js (#6)
Browse files Browse the repository at this point in the history
  • Loading branch information
pacocoursey authored Nov 18, 2021
1 parent 7898ea3 commit f43103f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ export function generateKeyBetween(a, b, digits = BASE_62_DIGITS) {
}
const res = decrementInteger(ib, digits);
if (res === null) {
throw new Error("cannot decreatement any more");
throw new Error("cannot decrement any more");
}
return res;
}
Expand Down

0 comments on commit f43103f

Please sign in to comment.