6
0
mirror of https://github.com/grdl/git-get.git synced 2026-02-05 04:59:42 +00:00

Fix issues found by nlreturn linter

This commit is contained in:
Grzegorz Dlugoszewski
2025-08-24 18:28:09 +02:00
parent 3b85a64c2d
commit ca8681f997
7 changed files with 8 additions and 0 deletions

View File

@@ -133,5 +133,6 @@ func (e GitError) Error() string {
func lines(output []byte) []string {
lines := strings.TrimSuffix(string(output), "\n")
return strings.Split(lines, "\n")
}