aboutsummaryrefslogtreecommitdiff
path: root/package_git.go
diff options
context:
space:
mode:
Diffstat (limited to 'package_git.go')
-rw-r--r--package_git.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/package_git.go b/package_git.go
index cf86b9d..67c5323 100644
--- a/package_git.go
+++ b/package_git.go
@@ -130,7 +130,7 @@ func (pkg *Package) gitGetBranch() (err error) {
}
}
}
- if midx >= 0 {
+ if midx >= 0 { // nolint: gocritic
pkg.RemoteBranch = branches[midx]
} else if vidx >= 0 {
pkg.RemoteBranch = branches[vidx]