Skip to content

Commit f09dfb2

Browse files
author
alxndrsn
committed
kinder global check
1 parent 111353e commit f09dfb2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/integration/test.attachments.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4103,7 +4103,7 @@ repl_adapters.forEach(function (adapters) {
41034103

41044104
function decodeBase64(str) {
41054105
// Polyfill for node14 - currently used in CI :'(
4106-
if (!global.atob) {
4106+
if (!global || !global.atob) {
41074107
return Buffer.from(str, 'base64').toString();
41084108
}
41094109
return atob(str);

0 commit comments

Comments
 (0)