Missing semicolon
Signed-off-by: Fabio José <fabiojose@gmail.com>
This commit is contained in:
parent
a66aafc5a6
commit
470b97fd29
|
@ -41,7 +41,7 @@ const asBuffer = (value) =>
|
|||
? Buffer.from(value)
|
||||
: isBuffer(value)
|
||||
? value
|
||||
: (() => {throw {message: "is not buffer or a valid binary"}})();
|
||||
: (() => {throw {message: "is not buffer or a valid binary"};})();
|
||||
|
||||
const asBase64 = (value) =>
|
||||
asBuffer(value).toString("base64");
|
||||
|
|
Loading…
Reference in New Issue