修复 linux 依赖是否存在判断

This commit is contained in:
whyour committed 2023-07-24 22:02:26 +08:00
1 parent 04edd97967
commit 8b0dedaf8c
8 files changed
+11 -10

No files matched your search

+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(