mirror of
https://github.com/whyour/qinglong.git
synced 2025-07-28 07:06:06 +08:00
修复初始化任务执行
This commit is contained in:
parent
c7a87efb8d
commit
628dead88c
|
@ -70,7 +70,9 @@ 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];
|
||||||
exec(doc.command);
|
if (doc && doc.isDisabled !== 1) {
|
||||||
|
exec(doc.command);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user