expose func

This commit is contained in:
Jeff Carr 2025-02-22 06:53:10 -06:00
parent 06564368bc
commit ef24c64f5b
1 changed files with 1 additions and 1 deletions

View File

@ -58,7 +58,7 @@ func checkCmdSimple(cmd string) bool {
return true
}
func checkCmd(cmd string) (string, error) {
func CheckCmd(cmd string) (string, error) {
path, err := exec.LookPath(cmd)
if err != nil {
fmt.Printf("\n%s is not in the PATH\n", cmd)