(s string, maxWidth int)
| 1029 | } |
| 1030 | |
| 1031 | func truncateDescription(s string, maxWidth int) string { |
| 1032 | return text.Truncate(maxWidth, text.RemoveExcessiveWhitespace(s)) |
| 1033 | } |
| 1034 | |
| 1035 | func checkOverwrite(opts *InstallOptions, skills []discovery.Skill, targetDir string, canPrompt bool) ([]discovery.Skill, error) { |
| 1036 | var existing, fresh []discovery.Skill |
no test coverage detected