Skip to content

Commit

Permalink
f
Browse files Browse the repository at this point in the history
  • Loading branch information
XadillaX committed Oct 8, 2022
1 parent 20a2587 commit 156937f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/buffer.js
Original file line number Diff line number Diff line change
Expand Up @@ -1300,7 +1300,7 @@ function atob(input) {
if (!reminder) {
// Remove all trailing `=` characters (whitespace characters will be
// ignored).
input = input.replace(/(=\s*){1,2}$/, s => {
input = input.replace(/(=\s*){1,2}$/, (s) => {
return s.replace(/=/gi, '');
});
const deltaLength = initLength - input.length;
Expand Down

0 comments on commit 156937f

Please sign in to comment.