Skip to content

Commit 5bf837b

Browse files
committed
close #236 fix config for windows
1 parent fcc9f26 commit 5bf837b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

githandler/git.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,5 +79,5 @@ func (os *Git) Config(argv ...string) (string, error) {
7979
if stdErr != nil {
8080
return "", stdErr
8181
}
82-
return strings.Replace(stdOut, "\n", "", -1), nil
82+
return strings.TrimSpace(stdOut), nil
8383
}

0 commit comments

Comments
 (0)