From dc37a459902e4ea0a8e242a0a8e2754654c96b01 Mon Sep 17 00:00:00 2001 From: Jerryplusy Date: Fri, 5 Sep 2025 13:02:02 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E6=A0=87=E8=AE=B0=E6=BD=9C=E5=9C=A8?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/modules/meme/meme.service.ts | 1 + src/modules/words/words.service.ts | 1 + 2 files changed, 2 insertions(+) diff --git a/src/modules/meme/meme.service.ts b/src/modules/meme/meme.service.ts index c68d7ae..c49bead 100644 --- a/src/modules/meme/meme.service.ts +++ b/src/modules/meme/meme.service.ts @@ -21,6 +21,7 @@ export class MemeService { private startAutoUpdate() { setInterval(async () => { const memePath = this.pathService.get('meme'); + //const memePath = path.join(this.pathService.get('meme'),'..'); TODO 需确认检查src更新是否影响正常运行 this.logger.log('定时检查表情仓库更新..'); const updated = await this.autoUpdateService.checkRepoForUpdates( memePath, diff --git a/src/modules/words/words.service.ts b/src/modules/words/words.service.ts index 07a38cf..935ad7c 100644 --- a/src/modules/words/words.service.ts +++ b/src/modules/words/words.service.ts @@ -31,6 +31,7 @@ export class WordsService { private startAutoUpdate() { setInterval(async () => { + //const wordsPath = path.join(this.paths.get('words'),'..'); TODO 需确认检查src更新是否影响正常运行 const wordsPath = this.paths.get('words'); this.logger.log('定时检查文案仓库更新..'); const updated = await this.autoUpdateService.checkRepoForUpdates(