cli/pkg/iostreams/epipe_other.go
Babak K. Shandiz 05986e4cb3
chore: apply go fix to remove deprecated // +build tags
Signed-off-by: Babak K. Shandiz <babakks@github.com>
2025-10-30 21:10:45 +00:00

12 lines
149 B
Go

//go:build !windows
package iostreams
import (
"errors"
"syscall"
)
func isEpipeError(err error) bool {
return errors.Is(err, syscall.EPIPE)
}