style(be):golangci-lint github action 增加timeout

This commit is contained in:
1mtrue
2021-03-16 17:22:16 +08:00
committed by dushixiang
parent 5e7be397a5
commit ea48bd3da2
8 changed files with 12 additions and 11 deletions

View File

@ -229,7 +229,7 @@ func Run() error {
if err != nil {
return err
}
if jobs == nil {
if len(jobs) == 0 {
job := model.Job{
ID: utils.UUID(),
Name: "资产状态检测",