don't return error if drone.sec not found
This commit is contained in:
parent
525fd50f43
commit
bc5ec51a6e
1 changed files with 1 additions and 1 deletions
|
@ -220,7 +220,7 @@ func (g *Gitlab) Script(user *model.User, repo *model.Repo, build *model.Build)
|
|||
}
|
||||
out2, err := client.RepoRawFile(id, build.Commit, ".drone.sec")
|
||||
if err != nil {
|
||||
return out1, nil, err
|
||||
return out1, nil, nil
|
||||
}
|
||||
return out1, out2, err
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue