diff --git a/internal/plugin/installer/umask_unix_test.go b/internal/plugin/installer/umask_unix_test.go index ab97e0504..632509028 100644 --- a/internal/plugin/installer/umask_unix_test.go +++ b/internal/plugin/installer/umask_unix_test.go @@ -1,3 +1,5 @@ +//go:build !windows + /* Copyright The Helm Authors. Licensed under the Apache License, Version 2.0 (the "License"); @@ -13,8 +15,6 @@ See the License for the specific language governing permissions and limitations under the License. */ -//go:build !windows - package installer import "syscall" diff --git a/internal/plugin/installer/umask_windows_test.go b/internal/plugin/installer/umask_windows_test.go index a03f3f499..fd60c0191 100644 --- a/internal/plugin/installer/umask_windows_test.go +++ b/internal/plugin/installer/umask_windows_test.go @@ -1,3 +1,5 @@ +//go:build windows + /* Copyright The Helm Authors. Licensed under the Apache License, Version 2.0 (the "License"); @@ -13,8 +15,6 @@ See the License for the specific language governing permissions and limitations under the License. */ -//go:build windows - package installer // posixPermsSupported reports whether the platform honors POSIX file