Skip to content

Commit

Permalink
Formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
SkyfallWasTaken committed Jun 27, 2024
1 parent 3e33353 commit 4a7786c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4a7786c

Please sign in to comment.