mirror of
https://github.com/whyour/qinglong.git
synced 2026-12-01 01:23:53 +08:00
修复初始化任务执行
This commit is contained in:
1 parent
f068cd6a46
commit
61963d5f5d
1 file changed
+3
-1
@@ -70,7 +70,9 @@ export default async () => {
|
||||
.exec((err, docs) => {
|
||||
for (let i = 0; i < docs.length; i++) {
|
||||
const doc = docs[i];
|
||||
exec(doc.command);
|
||||
if (doc && doc.isDisabled !== 1) {
|
||||
exec(doc.command);
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in new issue
Block a user