fixup deps

Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
This commit is contained in:
Василий Толстов 2023-10-03 00:04:35 +03:00
parent 156d969938
commit 1a440f8f33

View File

@ -290,7 +290,6 @@ func giteaPullRequest(ctx context.Context, cfg *Config, branch string, mods map[
if err = wtree.PullContext(&git.PullOptions{Force: true, RemoteName: "origin"}); err != nil { if err = wtree.PullContext(&git.PullOptions{Force: true, RemoteName: "origin"}); err != nil {
logger.Fatalf(ctx, "failed to pull repo: %v", err) logger.Fatalf(ctx, "failed to pull repo: %v", err)
} }
}
logger.Infof(ctx, "checkout ref %s", headRef) logger.Infof(ctx, "checkout ref %s", headRef)
if err = wtree.Checkout(&git.CheckoutOptions{ if err = wtree.Checkout(&git.CheckoutOptions{