diff --git a/unlock.ts b/unlock.ts index ee36fc8..b875fec 100644 --- a/unlock.ts +++ b/unlock.ts @@ -25,7 +25,12 @@ for (const version of versions) { console.log(version.replace(/-/g, " ") + " unlocked successfully!"); foundAny = true; - } catch { + } catch (error) { + if (error instanceof Deno.errors.NotFound) { + continue; + } + + throw error; } }