mirror of
https://github.com/taigrr/wtf
synced 2025-01-18 04:03:14 -08:00
Merge pull request #193 from baustinanki/git-repo-newline
Fix newline in git module repo names breaking display
This commit is contained in:
commit
59cd1d23bf
@ -22,7 +22,7 @@ func NewGitRepo(repoPath string) *GitRepo {
|
||||
repo.Branch = repo.branch()
|
||||
repo.ChangedFiles = repo.changedFiles()
|
||||
repo.Commits = repo.commits()
|
||||
repo.Repository = repo.repository()
|
||||
repo.Repository = strings.TrimSpace(repo.repository())
|
||||
|
||||
return &repo
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user