From 32bd9e05f72a2f49de55024a9cd0ee8c0f1179e7 Mon Sep 17 00:00:00 2001 From: Oscar Otero Date: Tue, 15 Oct 2024 19:31:11 +0200 Subject: [PATCH] support for Deno 1.x --- plugins/check_urls.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/check_urls.ts b/plugins/check_urls.ts index 1ab732a4..fbf08a73 100644 --- a/plugins/check_urls.ts +++ b/plugins/check_urls.ts @@ -150,7 +150,7 @@ function outputResults( ) { const content = JSON.stringify( Object.fromEntries( - notFound.entries().map(([url, refs]) => [url, Array.from(refs)]), + Array.from(notFound.entries()).map(([url, refs]) => [url, Array.from(refs)]), ), null, 2,