From 78b2fee65cfba132d057a1c63a4eb80bc3a54ddf Mon Sep 17 00:00:00 2001 From: Kaede Fujisaki Date: Wed, 11 May 2022 03:57:03 +0900 Subject: [PATCH] Display better --- server/src/cmd/regenerate-cache.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/src/cmd/regenerate-cache.ts b/server/src/cmd/regenerate-cache.ts index e694723..1129cef 100644 --- a/server/src/cmd/regenerate-cache.ts +++ b/server/src/cmd/regenerate-cache.ts @@ -14,7 +14,7 @@ async function main() { } let processed = 0; for (const entity of entities) { - console.log(`Processing: (type=${entity.type}, ${processed+1}/${entities.length}): ${entity.id}`); + console.log(`Processing[${entity.mimeType} ${processed+1}/${entities.length})]: ${entity.id}`); await shelf.regenerateEntityCache(entity); ++processed; }