mirror of
https://github.com/safedep/pmg.git
synced 2026-08-03 07:24:09 +02:00
function name change
This commit is contained in:
@@ -5,7 +5,7 @@ import (
|
||||
"os/exec"
|
||||
)
|
||||
|
||||
func GetInterpreterPath(name string) (string, error) {
|
||||
func GetExecutablePath(name string) (string, error) {
|
||||
path, err := exec.LookPath(name)
|
||||
if err != nil {
|
||||
return "", fmt.Errorf("interpreter '%s' not found in PATH: %s", name, err.Error())
|
||||
|
||||
Reference in New Issue
Block a user