mirror of
https://github.com/whyour/qinglong.git
synced 2025-07-07 20:06:08 +08:00
修复日志参数获取
This commit is contained in:
parent
86e5f208fb
commit
54dd82dc77
|
@ -241,7 +241,7 @@ export default class CronService {
|
||||||
const [, commandStr, url] = doc.command.split(' ');
|
const [, commandStr, url] = doc.command.split(' ');
|
||||||
let logPath = this.getKey(commandStr);
|
let logPath = this.getKey(commandStr);
|
||||||
const isQlCommand = doc.command.startsWith('ql ');
|
const isQlCommand = doc.command.startsWith('ql ');
|
||||||
const key = this.getKey(url) || logPath;
|
const key = (url && this.getKey(url)) || logPath;
|
||||||
if (isQlCommand) {
|
if (isQlCommand) {
|
||||||
logPath = 'update';
|
logPath = 'update';
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user