diff --git a/tools/build.js b/tools/build.js index 706344343..301304f5d 100644 --- a/tools/build.js +++ b/tools/build.js @@ -109,7 +109,7 @@ async function vendorDeno() { const destination = join(vendorDest, url.hostname, url.pathname) const res = await fetch(url) - if (!res.ok) throw new Error('Failed to fetch .wasm file to vendor', {cause: err}) + if (!res.ok) throw new Error('Failed to fetch .wasm file to vendor', { cause: err }) const fileStream = createWriteStream(destination, { flags: 'wx' }) await finished(Readable.fromWeb(res.body).pipe(fileStream)) }),