From 5faa737ead86e6faa5f0e3729d935c4d22e3dc17 Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Fri, 21 Feb 2020 23:35:20 +0000 Subject: fix(ops/besadii): Remove branch tag after checking for it ... oops. The problem with working on besadii is that testing it always lags one commit behind. --- ops/besadii/main.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'ops/besadii/main.go') diff --git a/ops/besadii/main.go b/ops/besadii/main.go index bf0e707cb6..72bba769f5 100644 --- a/ops/besadii/main.go +++ b/ops/besadii/main.go @@ -151,10 +151,11 @@ func parseRefUpdates() ([]refUpdate, error) { update := refUpdate{ old: fragments[0], new: fragments[1], - name: strings.TrimPrefix(fragments[2], branchPrefix), + name: fragments[2], } if strings.HasPrefix(update.name, branchPrefix) && update.new != deletedBranch { + update.name = strings.TrimPrefix(update.name, branchPrefix) updates = append(updates, update) } } -- cgit 1.4.1