We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 298a882 commit fdf59a2Copy full SHA for fdf59a2
src/vcs/p4/p4_command.go
@@ -88,7 +88,7 @@ func getP4InfoValue(key string) (value string, err error) {
88
if err != nil {
89
return "", err
90
}
91
- value = strings.TrimSuffix(string(output), "\r\n")
+ value = strings.Trim(string(output), "\r\n")
92
if value == "" {
93
return "", fmt.Errorf("p4 info value for %s not found", key)
94
0 commit comments