Skip to content

Commit

Permalink
cocoapods-audit
Browse files Browse the repository at this point in the history
  • Loading branch information
barv-jfrog committed Sep 30, 2024
1 parent 792863c commit 75d41cc
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions artifactory/commands/cocoapods/podcommand.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,6 @@ const (

type PodCommand struct {
cmdName string
repo string
podArgs []string
serverDetails *config.ServerDetails
podVersion *version.Version
authArtDetails auth.ServiceDetails
Expand All @@ -37,7 +35,7 @@ type PodCommand struct {
func GetPodVersionAndExecPath() (*version.Version, string, error) {
podExecPath, err := exec.LookPath("pod")
if err != nil {
return nil, "", fmt.Errorf("could not find the 'pod' executable in the system PATH", err)
return nil, "", fmt.Errorf("errcould not find the 'pod' executable in the system PATH %w", err)
}
log.Debug("Using pod executable:", podExecPath)
versionData, _, err := RunPodCmd(podExecPath, "", []string{"--version"})
Expand Down

0 comments on commit 75d41cc

Please sign in to comment.