Skip to content

Commit

Permalink
Improve error message
Browse files Browse the repository at this point in the history
  • Loading branch information
pioz committed May 27, 2022
1 parent 7de8439 commit e7b1052
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion runner/commands.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
)

func (s *Service) CheckGo() error {
errorMessage := fmt.Sprintf("couldn't find the `go` executable. Please install `go` or set the executable path in `%s` file using the `go_executable_path` variable", s.runner.confFilePath)
errorMessage := fmt.Sprintf("couldn't find the `go` executable. Please install `go` or set the executable path in `%s` file using the `go_exec_path` variable", s.runner.confFilePath)
cmd := s.ParseCommand("{{.GoExecPath}} version")
return s.PrintExec(cmd, errorMessage)
}
Expand Down

0 comments on commit e7b1052

Please sign in to comment.