0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2024-12-16 21:46:22 -05:00

[ci] format

This commit is contained in:
matthewp 2022-09-20 13:40:04 +00:00 committed by fredkbot
parent 8d059faaed
commit 91568bb055

View file

@ -123,7 +123,7 @@ async function renderToStaticNodeStreamAsync(vnode) {
let html = '';
return new Promise((resolve, reject) => {
let stream = ReactDOM.renderToStaticNodeStream(vnode);
stream.on('error', err => {
stream.on('error', (err) => {
reject(err);
});
stream.pipe(