fix:标记潜在问题

This commit is contained in:
Jerry 2025-09-05 13:02:02 +08:00
parent 296bd924cd
commit dc37a45990
2 changed files with 2 additions and 0 deletions

View File

@ -21,6 +21,7 @@ export class MemeService {
private startAutoUpdate() { private startAutoUpdate() {
setInterval(async () => { setInterval(async () => {
const memePath = this.pathService.get('meme'); const memePath = this.pathService.get('meme');
//const memePath = path.join(this.pathService.get('meme'),'..'); TODO 需确认检查src更新是否影响正常运行
this.logger.log('定时检查表情仓库更新..'); this.logger.log('定时检查表情仓库更新..');
const updated = await this.autoUpdateService.checkRepoForUpdates( const updated = await this.autoUpdateService.checkRepoForUpdates(
memePath, memePath,

View File

@ -31,6 +31,7 @@ export class WordsService {
private startAutoUpdate() { private startAutoUpdate() {
setInterval(async () => { setInterval(async () => {
//const wordsPath = path.join(this.paths.get('words'),'..'); TODO 需确认检查src更新是否影响正常运行
const wordsPath = this.paths.get('words'); const wordsPath = this.paths.get('words');
this.logger.log('定时检查文案仓库更新..'); this.logger.log('定时检查文案仓库更新..');
const updated = await this.autoUpdateService.checkRepoForUpdates( const updated = await this.autoUpdateService.checkRepoForUpdates(