From 33237859f879045a9a4e5e2d024416d2147dcb2e Mon Sep 17 00:00:00 2001 From: Jerryplusy Date: Sun, 7 Sep 2025 08:41:33 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E7=BB=86=E8=8A=82=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/modules/meme/meme.service.ts | 4 ++-- src/modules/words/words.service.ts | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/modules/meme/meme.service.ts b/src/modules/meme/meme.service.ts index c49bead..a137cd3 100644 --- a/src/modules/meme/meme.service.ts +++ b/src/modules/meme/meme.service.ts @@ -20,8 +20,8 @@ export class MemeService { private startAutoUpdate() { setInterval(async () => { - const memePath = this.pathService.get('meme'); - //const memePath = path.join(this.pathService.get('meme'),'..'); TODO 需确认检查src更新是否影响正常运行 + //const memePath = this.pathService.get('meme'); + const memePath = path.join(this.pathService.get('meme'), '..'); 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 e56db3e..425f1b2 100644 --- a/src/modules/words/words.service.ts +++ b/src/modules/words/words.service.ts @@ -31,8 +31,8 @@ export class WordsService { private startAutoUpdate() { setInterval(async () => { - //const wordsPath = path.join(this.paths.get('words'),'..'); TODO 需确认检查src更新是否影响正常运行 - const wordsPath = this.paths.get('words'); + const wordsPath = path.join(this.paths.get('words'), '..'); + //const wordsPath = this.paths.get('words'); this.logger.log('定时检查文案仓库更新..'); const updated = await this.autoUpdateService.checkRepoForUpdates( wordsPath,