Update Deno to 2.1 LTS!

This commit is contained in:
Bruno Bernardino
2024-11-30 08:13:22 +00:00
parent 7ef8220bb1
commit bbf8683004
12 changed files with 25 additions and 22 deletions

View File

@@ -157,7 +157,7 @@ export async function findFeedInUrl(url: string) {
}
} catch (error) {
// This error can happen for huge responses, but that usually means the URL works
if (error.toString().includes('RangeError: Maximum call stack size exceeded')) {
if ((error as Error).toString().includes('RangeError: Maximum call stack size exceeded')) {
return url;
} else {
console.error(error);