From 4a7786cd69addad93ff8f988c2cfbc56e14304b7 Mon Sep 17 00:00:00 2001 From: SkyfallWasTaken Date: Thu, 27 Jun 2024 19:16:36 +0100 Subject: [PATCH] Formatting --- src/index.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/index.ts b/src/index.ts index f25ab4a..b02e7c5 100644 --- a/src/index.ts +++ b/src/index.ts @@ -42,7 +42,9 @@ async function runScrape(env: Env) { const oldItems: ShopItem[] = JSON.parse(oldItemsUnparsed); const diff = detailedDiff(oldItems, latestItems); - console.log(`${(diff.added as ShopItemDiff[]).length} items added, ${(diff.added as ShopItemDiff[]).length} items updated, ${(diff.deleted as ShopItemDiff[]).length} items deleted`); + console.log( + `${(diff.added as ShopItemDiff[]).length} items added, ${(diff.added as ShopItemDiff[]).length} items updated, ${(diff.deleted as ShopItemDiff[]).length} items deleted`, + ); const message = formatDiff(diff, oldItems); // Let's update the KV store with the latest items