We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fcc9f26 commit 5bf837bCopy full SHA for 5bf837b
githandler/git.go
@@ -79,5 +79,5 @@ func (os *Git) Config(argv ...string) (string, error) {
79
if stdErr != nil {
80
return "", stdErr
81
}
82
- return strings.Replace(stdOut, "\n", "", -1), nil
+ return strings.TrimSpace(stdOut), nil
83
0 commit comments