Skip to content

Commit

Permalink
swift audit fixes + small fix to cocoapods version
Browse files Browse the repository at this point in the history
  • Loading branch information
barv-jfrog committed Dec 26, 2024
1 parent efb534b commit d32b428
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion commands/audit/sca/cocoapods/podcommand.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ func runPodCmd(executablePath, srcPath string, podArgs []string) (stdResult []by
err = fmt.Errorf("error while running '%s %s': %s\n%s", executablePath, strings.Join(args, " "), err.Error(), strings.TrimSpace(string(errResult)))
return
}
log.Debug(fmt.Sprintf("cocoapods '%s' standard output is:\n%s"), strings.Join(args, " "), strings.TrimSpace(string(stdResult)))
log.Debug(fmt.Sprintf("cocoapods '%s' standard output is:\n%s", strings.Join(args, " "), strings.TrimSpace(string(stdResult))))
return
}

Expand Down
2 changes: 1 addition & 1 deletion commands/audit/sca/swift/swiftcommand.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ func runSwiftCmd(executablePath, srcPath string, swiftArgs []string) (stdResult,
err = fmt.Errorf("error while running '%s %s': %s\n%s", executablePath, strings.Join(args, " "), err.Error(), strings.TrimSpace(string(errResult)))
return
}
log.Debug("swift '" + strings.Join(args, " ") + "' standard output is:\n" + strings.TrimSpace(string(stdResult)))
log.Debug(fmt.Sprintf("swift '%s' standard output is:\n%s", strings.Join(args, " "), strings.TrimSpace(string(stdResult))))
return
}

Expand Down

0 comments on commit d32b428

Please sign in to comment.