fix: catch errors here too
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
See #266
This commit is contained in:
parent
bf79552204
commit
2a88491d7c
|
@ -616,10 +616,10 @@ func EnsureUpToDate(recipeName string) error {
|
|||
return err
|
||||
}
|
||||
|
||||
fetchOpts := &git.FetchOptions{
|
||||
Tags: git.AllTags,
|
||||
fetchOpts := &git.FetchOptions{Tags: git.AllTags}
|
||||
if err := repo.Fetch(fetchOpts); err != nil {
|
||||
return err
|
||||
}
|
||||
repo.Fetch(fetchOpts)
|
||||
|
||||
opts := &git.PullOptions{
|
||||
Force: true,
|
||||
|
|
Loading…
Reference in New Issue