mirror of
https://github.com/crystelf/crystelf-core.git
synced 2025-12-05 10:31:56 +00:00
fix:细节修复
This commit is contained in:
parent
c1c3f9a5fd
commit
33237859f8
@ -20,8 +20,8 @@ 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更新是否影响正常运行
|
const memePath = path.join(this.pathService.get('meme'), '..');
|
||||||
this.logger.log('定时检查表情仓库更新..');
|
this.logger.log('定时检查表情仓库更新..');
|
||||||
const updated = await this.autoUpdateService.checkRepoForUpdates(
|
const updated = await this.autoUpdateService.checkRepoForUpdates(
|
||||||
memePath,
|
memePath,
|
||||||
|
|||||||
@ -31,8 +31,8 @@ export class WordsService {
|
|||||||
|
|
||||||
private startAutoUpdate() {
|
private startAutoUpdate() {
|
||||||
setInterval(async () => {
|
setInterval(async () => {
|
||||||
//const wordsPath = path.join(this.paths.get('words'),'..'); TODO 需确认检查src更新是否影响正常运行
|
const wordsPath = path.join(this.paths.get('words'), '..');
|
||||||
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(
|
||||||
wordsPath,
|
wordsPath,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user