Compare commits

...

1 Commits

Author SHA1 Message Date
Jeff Carr ef24c64f5b expose func 2025-02-22 06:53:10 -06:00
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)