Skip to content

Commit

Permalink
chore: format with prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
pieh authored and actions-user committed Dec 17, 2024
1 parent f1beb45 commit af28413
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -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))
}),
Expand Down

0 comments on commit af28413

Please sign in to comment.