[ci] format

This commit is contained in:
matthewp 2022-09-20 19:34:51 +00:00 committed by fredkbot
parent 9bfbd63f05
commit 0f4f514fd9

View file

@ -86,7 +86,7 @@ export const createExports = (manifest: SSRManifest, args: Args) => {
const responseIsBase64Encoded = knownBinaryMediaTypes.has(responseContentType); const responseIsBase64Encoded = knownBinaryMediaTypes.has(responseContentType);
let responseBody: string; let responseBody: string;
if(responseIsBase64Encoded) { if (responseIsBase64Encoded) {
const ab = await response.arrayBuffer(); const ab = await response.arrayBuffer();
responseBody = Buffer.from(ab).toString('base64'); responseBody = Buffer.from(ab).toString('base64');
} else { } else {