0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2024-12-23 21:53:55 -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 = ''; let html = '';
return new Promise((resolve, reject) => { return new Promise((resolve, reject) => {
let stream = ReactDOM.renderToStaticNodeStream(vnode); let stream = ReactDOM.renderToStaticNodeStream(vnode);
stream.on('error', err => { stream.on('error', (err) => {
reject(err); reject(err);
}); });
stream.pipe( stream.pipe(