diff --git a/sliceflag.go b/sliceflag.go index 7dea3576a3..b2ca59041f 100644 --- a/sliceflag.go +++ b/sliceflag.go @@ -1,6 +1,3 @@ -//go:build go1.18 -// +build go1.18 - package cli import ( diff --git a/sliceflag_pre18.go b/sliceflag_pre18.go deleted file mode 100644 index 1173ae7402..0000000000 --- a/sliceflag_pre18.go +++ /dev/null @@ -1,10 +0,0 @@ -//go:build !go1.18 -// +build !go1.18 - -package cli - -import ( - "flag" -) - -func unwrapFlagValue(v flag.Value) flag.Value { return v } diff --git a/sliceflag_test.go b/sliceflag_test.go index 83374172c8..78dc5d509d 100644 --- a/sliceflag_test.go +++ b/sliceflag_test.go @@ -1,6 +1,3 @@ -//go:build go1.18 -// +build go1.18 - package cli import (