don't return error if drone.sec not found

This commit is contained in:
Brad Rydzewski 2015-10-29 16:15:06 -07:00
parent 525fd50f43
commit bc5ec51a6e

View file

@ -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
}