Skip to content

Commit

Permalink
remove getTool func
Browse files Browse the repository at this point in the history
  • Loading branch information
dogancanbakir committed Oct 9, 2023
1 parent a8ae2c4 commit 3c00ec4
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions internal/runner/runner.go
Original file line number Diff line number Diff line change
Expand Up @@ -250,15 +250,6 @@ func (r *Runner) ListToolsAndEnv(tools []types.Tool) error {
// Close the runner instance
func (r *Runner) Close() {}

func getTool(toolName string, tools []types.Tool) *types.Tool {
for _, tool := range tools {
if toolName == tool.Name {
return &tool
}
}
return nil
}

func requirementSatisfied(requirementName string) bool {
_, execErr := exec.LookPath(requirementName)
_, sysErr := syscallutil.LoadLibrary(requirementName)
Expand Down

0 comments on commit 3c00ec4

Please sign in to comment.