Skip to content

Commit 596c562

Browse files
authored
fix: pin Deno version to v2.3.7 (#130)
Temporary workaround for #129
1 parent 1fcc825 commit 596c562

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/download.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,12 @@ export async function getDenoDownloadUrl(
5252
} version information from ${url}.`,
5353
);
5454
}
55-
const version = (await res.text()).trim();
55+
let version = (await res.text()).trim();
56+
// TODO(bartlomieju): temporary workaround for https://github.com/jsr-io/jsr-npm/issues/129
57+
// until it's fixed upstream in Deno
58+
if (!canary) {
59+
version = "v2.3.7";
60+
}
5661

5762
return {
5863
canary,

0 commit comments

Comments
 (0)