diff --git a/logger.go b/logger.go index 467d7ace..cbe83594 100644 --- a/logger.go +++ b/logger.go @@ -14,5 +14,7 @@ func (l DebugLogger) Log(args ...interface{}) { tokens = append(tokens, token) } } - log.Printf("[DEBUG] [aws-sdk-go] %s", strings.Join(tokens, " ")) + s := strings.Join(tokens, " ") + s = strings.ReplaceAll(s, "\r", "") // Works around https://github.com/jen20/teamcity-go-test/pull/2 + log.Printf("[DEBUG] [aws-sdk-go] %s", s) }