mirror of
https://github.com/whyour/qinglong.git
synced 2025-05-23 14:56:07 +08:00
修复删除日志log
This commit is contained in:
parent
b78b382ba1
commit
ecb035d0b4
|
@ -241,7 +241,9 @@ export default class CronService {
|
|||
const [, commandStr, url] = doc.command.split(' ');
|
||||
let logPath = this.getKey(commandStr);
|
||||
const isQlCommand = doc.command.startsWith('ql ');
|
||||
const key = (url && this.getKey(url)) || logPath;
|
||||
const key =
|
||||
(url && ['repo', 'raw'].includes(commandStr) && this.getKey(url)) ||
|
||||
logPath;
|
||||
if (isQlCommand) {
|
||||
logPath = 'update';
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user