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:
@@ -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")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user