From 05986e4cb31f9bc0257f17185e8bc4b166d5e673 Mon Sep 17 00:00:00 2001 From: "Babak K. Shandiz" Date: Thu, 30 Oct 2025 21:10:45 +0000 Subject: [PATCH] chore: apply `go fix` to remove deprecated `// +build` tags Signed-off-by: Babak K. Shandiz --- pkg/cmd/attestation/artifact/artifact_posix_test.go | 1 - pkg/cmd/attestation/artifact/artifact_windows_test.go | 1 - pkg/cmd/extension/symlink_other.go | 1 - pkg/findsh/find.go | 1 - pkg/iostreams/console.go | 1 - pkg/iostreams/console_windows.go | 1 - pkg/iostreams/epipe_other.go | 1 - 7 files changed, 7 deletions(-) diff --git a/pkg/cmd/attestation/artifact/artifact_posix_test.go b/pkg/cmd/attestation/artifact/artifact_posix_test.go index 31e9cb7e7..105a0c0ed 100644 --- a/pkg/cmd/attestation/artifact/artifact_posix_test.go +++ b/pkg/cmd/attestation/artifact/artifact_posix_test.go @@ -1,5 +1,4 @@ //go:build !windows -// +build !windows package artifact diff --git a/pkg/cmd/attestation/artifact/artifact_windows_test.go b/pkg/cmd/attestation/artifact/artifact_windows_test.go index 46995f226..e5571cb70 100644 --- a/pkg/cmd/attestation/artifact/artifact_windows_test.go +++ b/pkg/cmd/attestation/artifact/artifact_windows_test.go @@ -1,5 +1,4 @@ //go:build windows -// +build windows package artifact diff --git a/pkg/cmd/extension/symlink_other.go b/pkg/cmd/extension/symlink_other.go index 59c1989d9..3947a6c87 100644 --- a/pkg/cmd/extension/symlink_other.go +++ b/pkg/cmd/extension/symlink_other.go @@ -1,5 +1,4 @@ //go:build !windows -// +build !windows package extension diff --git a/pkg/findsh/find.go b/pkg/findsh/find.go index de1caf8c6..26d2dbd1e 100644 --- a/pkg/findsh/find.go +++ b/pkg/findsh/find.go @@ -1,5 +1,4 @@ //go:build !windows -// +build !windows package findsh diff --git a/pkg/iostreams/console.go b/pkg/iostreams/console.go index 72d070396..740709fa2 100644 --- a/pkg/iostreams/console.go +++ b/pkg/iostreams/console.go @@ -1,5 +1,4 @@ //go:build !windows -// +build !windows package iostreams diff --git a/pkg/iostreams/console_windows.go b/pkg/iostreams/console_windows.go index ee0238e49..9e9b7cd75 100644 --- a/pkg/iostreams/console_windows.go +++ b/pkg/iostreams/console_windows.go @@ -1,5 +1,4 @@ //go:build windows -// +build windows package iostreams diff --git a/pkg/iostreams/epipe_other.go b/pkg/iostreams/epipe_other.go index a8a4e0476..88092f106 100644 --- a/pkg/iostreams/epipe_other.go +++ b/pkg/iostreams/epipe_other.go @@ -1,5 +1,4 @@ //go:build !windows -// +build !windows package iostreams