[ci] format

This commit is contained in:
bholmesdev 2023-02-01 13:29:00 +00:00 committed by fredkbot
parent f91615f5c0
commit 01ef1e565b
2 changed files with 5 additions and 5 deletions

View file

@ -93,7 +93,7 @@ export function chunkToByteArray(
if (chunk instanceof Uint8Array) {
return chunk as Uint8Array;
}
// stringify chunk might return a HTMLString
let stringified = stringifyChunk(result, chunk);
// stringify chunk might return a HTMLString
let stringified = stringifyChunk(result, chunk);
return encoder.encode(stringified.toString());
}

View file

@ -261,11 +261,11 @@ If you're still stuck, please open an issue on GitHub or join us at https://astr
if (isPage || renderer?.name === 'astro:jsx') {
yield html;
} else if(html && html.length > 0) {
} else if (html && html.length > 0) {
yield markHTMLString(html.replace(/\<\/?astro-slot\>/g, ''));
} else {
yield '';
}
yield '';
}
})();
}