(deps []string)
| 338 | } |
| 339 | |
| 340 | func formatDependencies(deps []string) string { |
| 341 | if len(deps) == 0 { |
| 342 | return "dependencies: []" |
| 343 | } |
| 344 | quoted := make([]string, len(deps)) |
| 345 | for i, d := range deps { |
| 346 | quoted[i] = `"` + d + `"` |
| 347 | } |
| 348 | return "dependencies: [" + strings.Join(quoted, ", ") + "]" |
| 349 | } |
| 350 | |
| 351 | func outputAddResult(id, title, filePath string) error { |
| 352 | switch addFormat { |
no outgoing calls
no test coverage detected