chore: fix update check tests downloading deps (#1738)

This commit is contained in:
Marvin Hagemeister
2023-09-05 17:36:31 +02:00
committed by GitHub
parent 7004eae7ba
commit 215519294c
2 changed files with 9 additions and 9 deletions
+1 -1
View File
@@ -14,7 +14,7 @@ async function getCurrentVersion() {
const interval = +(Deno.env.get("UPDATE_INTERVAL") ?? 1000);
await updateCheck(
interval,
() => Deno.env.get("HOME")!,
() => Deno.env.get("TEST_HOME")!,
getLatestVersion,
Deno.env.has("CURRENT_VERSION") ? getCurrentVersion : undefined,
);