From a682f831782f1c76ec5293c2fb4b7bce0e0ee3bd Mon Sep 17 00:00:00 2001 From: Taras Madan Date: Thu, 26 Oct 2023 12:49:03 +0200 Subject: pkg/vcs/vcs.go: nolint goconst because it improves readability To unblock #4285. --- pkg/vcs/vcs.go | 1 + 1 file changed, 1 insertion(+) (limited to 'pkg/vcs/vcs.go') diff --git a/pkg/vcs/vcs.go b/pkg/vcs/vcs.go index 26665bda3..ec17d642b 100644 --- a/pkg/vcs/vcs.go +++ b/pkg/vcs/vcs.go @@ -368,6 +368,7 @@ func FileLink(url, hash, file string, line int) string { return link(url, hash, file, line, 3) } +// nolint: goconst func link(url, hash, file string, line, typ int) string { if url == "" || hash == "" { return "" -- cgit mrf-deployment