Skip to content

Commit

Permalink
🚸 Stop producing errors from stderr
Browse files Browse the repository at this point in the history
  • Loading branch information
hybloid authored and avafanasiev committed Sep 3, 2024
1 parent d0fdfb0 commit 6cb7d7b
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions platform/git.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
package platform

import (
"fmt"
log "github.com/sirupsen/logrus"
"strings"
)
Expand All @@ -36,7 +35,6 @@ func gitRun(cwd string, command []string, logdir string) (string, string, error)
logger.Println(stdout)
if stderr != "" {
logger.Error(stderr + "\n")
err = fmt.Errorf("error while executing command %v: %v", args, stderr)
}
if err != nil {
log.Errorf("Error executing git command %s: %s", strings.Join(args, " "), err)
Expand Down

0 comments on commit 6cb7d7b

Please sign in to comment.