From d32dd316499ee79abb519b4ac0f14859dc34ffd4 Mon Sep 17 00:00:00 2001 From: snwzd <145876397+snwzd@users.noreply.github.com> Date: Sun, 20 Oct 2024 19:30:01 +0530 Subject: [PATCH] log info on updating a pinned binary --- cmd/update.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cmd/update.go b/cmd/update.go index 4158963..ec96dec 100644 --- a/cmd/update.go +++ b/cmd/update.go @@ -60,7 +60,8 @@ func newUpdateCmd() *updateCmd { return err } if cfg.Bins[bin].Pinned { - return fmt.Errorf("Cannot update a pinned binary") + log.Infof("%s is a pinned binary", a) + continue } binsToProcess[bin] = cfg.Bins[bin] }