Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
f
  • Loading branch information
XadillaX committed Oct 8, 2022
commit 156937f4fe22aa58aebf09539333a80437dd7c40
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