From 1a440f8f3363b36c12fc67c8fc8c0c17bbadcf87 Mon Sep 17 00:00:00 2001 From: Vasiliy Tolstov Date: Tue, 3 Oct 2023 00:04:35 +0300 Subject: [PATCH] fixup deps Signed-off-by: Vasiliy Tolstov --- cmd/pkgdashcli/main.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/cmd/pkgdashcli/main.go b/cmd/pkgdashcli/main.go index 315c9fc..4aa71d2 100644 --- a/cmd/pkgdashcli/main.go +++ b/cmd/pkgdashcli/main.go @@ -287,10 +287,9 @@ func giteaPullRequest(ctx context.Context, cfg *Config, branch string, mods map[ logger.Fatalf(ctx, "failed to reset repo branch: %v", err) } - 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.Infof(ctx, "checkout ref %s", headRef) if err = wtree.Checkout(&git.CheckoutOptions{