From c18d8d6968cb175703942631f0094ffb415f51f4 Mon Sep 17 00:00:00 2001 From: wxiaoguang Date: Mon, 2 May 2022 23:22:45 +0800 Subject: Remove legacy `+build:` constraint (#19582) Go 1.17 and later use modern `//go:build` constraints, the old `// +build:` constraints should be removed. --- modules/git/pipeline/lfs.go | 1 - modules/git/pipeline/lfs_nogogit.go | 1 - 2 files changed, 2 deletions(-) (limited to 'modules/git/pipeline') diff --git a/modules/git/pipeline/lfs.go b/modules/git/pipeline/lfs.go index 1b64b672e4..18cce34289 100644 --- a/modules/git/pipeline/lfs.go +++ b/modules/git/pipeline/lfs.go @@ -3,7 +3,6 @@ // license that can be found in the LICENSE file. //go:build gogit -// +build gogit package pipeline diff --git a/modules/git/pipeline/lfs_nogogit.go b/modules/git/pipeline/lfs_nogogit.go index 31c10c6002..a2b5dd0c96 100644 --- a/modules/git/pipeline/lfs_nogogit.go +++ b/modules/git/pipeline/lfs_nogogit.go @@ -3,7 +3,6 @@ // license that can be found in the LICENSE file. //go:build !gogit -// +build !gogit package pipeline -- cgit v1.2.3