builder: remove extra formatting verb from error message

This commit is contained in:
Damian Gryski
2022-05-16 10:52:14 -07:00
committed by Ron Evans
parent 15724848f9
commit eb3d6261b4
+1 -1
View File
@@ -74,7 +74,7 @@ func LookupCommand(name string) (string, error) {
} }
return cmdName, nil return cmdName, nil
} }
return "", errors.New("%#v: none of these commands were found in your $PATH: " + strings.Join(commands[name], " ")) return "", errors.New("none of these commands were found in your $PATH: " + strings.Join(commands[name], " "))
} }
func execCommand(name string, args ...string) error { func execCommand(name string, args ...string) error {