(s string, maxWidth int)
| 1039 | } |
| 1040 | |
| 1041 | func truncateDescription(s string, maxWidth int) string { |
| 1042 | return text.Truncate(maxWidth, text.RemoveExcessiveWhitespace(s)) |
| 1043 | } |
| 1044 | |
| 1045 | func checkOverwrite(opts *InstallOptions, skills []discovery.Skill, targetDir string, canPrompt bool) ([]discovery.Skill, error) { |
| 1046 | var existing, fresh []discovery.Skill |
no test coverage detected