mirror of
https://github.com/whyour/qinglong.git
synced 2025-05-23 23:06:06 +08:00
修复初始化任务执行
This commit is contained in:
parent
f068cd6a46
commit
61963d5f5d
|
@ -70,8 +70,10 @@ export default async () => {
|
||||||
.exec((err, docs) => {
|
.exec((err, docs) => {
|
||||||
for (let i = 0; i < docs.length; i++) {
|
for (let i = 0; i < docs.length; i++) {
|
||||||
const doc = docs[i];
|
const doc = docs[i];
|
||||||
|
if (doc && doc.isDisabled !== 1) {
|
||||||
exec(doc.command);
|
exec(doc.command);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
// patch 禁用状态字段改变
|
// patch 禁用状态字段改变
|
||||||
|
|
Loading…
Reference in New Issue
Block a user