cli/pkg/findsh/find.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

10 lines
167 B
Go

//go:build !windows
package findsh
import "os/exec"
// Find locates the `sh` interpreter on the system.
func Find() (string, error) {
return exec.LookPath("sh")
}