Skip to content

Commit 443aad5

Browse files
committed
chore: broken tests
1 parent 63e78d2 commit 443aad5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/plugins/transform.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ async function downloadScript(opts: {
8484
encoding = r.headers.get('content-encoding')
8585
const contentLength = r.headers.get('content-length')
8686
size = contentLength ? Number(contentLength) / 1024 : 0
87-
return r.arrayBuffer()
87+
return r._data || r.arrayBuffer()
8888
}).then(r => Buffer.from(r))
8989

9090
await storage.setItemRaw(`bundle:${filename}`, res)

0 commit comments

Comments
 (0)