Skip to content

Commit

Permalink
ignore it?
Browse files Browse the repository at this point in the history
  • Loading branch information
runspired committed Dec 8, 2024
1 parent 98e5e4d commit 0c2697f
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions packages/holodeck/server/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -227,11 +227,7 @@ function createTestHandler(projectRoot: string): MiddlewareHandler {
`${cacheKey}.meta.json`,
JSON.stringify({ url, status, statusText, headers, method, requestBody: body }, null, 2)
);
fs.writeFileSync(
`${cacheKey}.body.br`,
// @ts-expect-error bun seems to break Buffer types
compress(JSON.stringify(response))
);
fs.writeFileSync(`${cacheKey}.body.br`, compress(JSON.stringify(response)));
context.status(204);
return context.body(null);
} else {
Expand Down

0 comments on commit 0c2697f

Please sign in to comment.