修复 linux 依赖是否存在判断

This commit is contained in:
whyour
2023-07-24 22:02:26 +08:00
parent 04edd97967
commit 8b0dedaf8c
8 changed files with 11 additions and 10 deletions
+1 -1
View File
@@ -38,7 +38,7 @@ export default async () => {
// 初始化时安装所有处于安装中,安装成功,安装失败的依赖
DependenceModel.findAll({
where: {},
order: [['type', 'DESC']],
order: [['type', 'DESC'], ['createdAt', 'DESC']],
raw: true,
}).then(async (docs) => {
await DependenceModel.update(