Fixed typo
This commit is contained in:
parent
9b8d1e01b6
commit
0b00728bed
2
utils.go
2
utils.go
@ -112,7 +112,7 @@ func findExecutable(programName string) (string, error) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Searches the given set of paths for a the given program, returing when it finds it or returning an error if the
|
// Searches the given set of paths for a the given program, returning when it finds it or returning an error if the
|
||||||
// program is not found
|
// program is not found
|
||||||
func searchPath(programName string, path []string) (string, error) {
|
func searchPath(programName string, path []string) (string, error) {
|
||||||
// Loop through each path element, test for the existance of the file, and then return if we find it
|
// Loop through each path element, test for the existance of the file, and then return if we find it
|
||||||
|
Reference in New Issue
Block a user