Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
vshymanskyy committed Aug 12, 2024
1 parent a24abe1 commit d27a573
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/python_utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ export async function getToolsVM() {
// Fetch the tar.gz file from the URL
const response = await fetch('https://viper-ide.org/tools_vfs.tar.gz');
if (!response.ok) {
throw new Error(`Failed to fetch ${url}: ${response.statusText}`);
throw new Error('Failed to fetch tools');
}
const decompressedStream = response.body.pipeThrough(new DecompressionStream('gzip'));
const decompressedBuffer = await new Response(decompressedStream).arrayBuffer();
Expand Down

0 comments on commit d27a573

Please sign in to comment.