From 921ffac5e8056991ae7f9b0b36d1834e2887b110 Mon Sep 17 00:00:00 2001 From: Alfonsus Ardani Date: Sat, 4 May 2024 07:24:19 +0700 Subject: [PATCH] update data yml --- .github/workflows/data.yml | 2 -- scrape/images.ts | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/data.yml b/.github/workflows/data.yml index fe5f485..5dcd2a6 100644 --- a/.github/workflows/data.yml +++ b/.github/workflows/data.yml @@ -23,12 +23,10 @@ jobs: uses: actions/checkout@v4 with: fetch-depth: 0 - - name: Setup Bun uses: oven-sh/setup-bun@v1 with: bun-version: latest - - run: | git config --global user.name "Update Data" git config --global user.email "alfonsusac@gmail.com" diff --git a/scrape/images.ts b/scrape/images.ts index d577f0c..e9faf0b 100644 --- a/scrape/images.ts +++ b/scrape/images.ts @@ -6,7 +6,7 @@ import { existsSync } from "node:fs" export const getImages = async (): Promise => [ ...manuallyListedImages, - + ...await (async () => { const i = await Promise.all(scrapedImages.map(async (scrapedImage) => { const cwd = `${import.meta.dir}/cloned/${scrapedImage.ownerRepoPath}`