Skip to content

Commit

Permalink
fix: 去除多余的日志信息
Browse files Browse the repository at this point in the history
  • Loading branch information
5bug committed May 22, 2022
1 parent 2269591 commit da5473f
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,6 @@ git push origin HEAD:${SOURCE_BRANCH} \
-o merge_request.remove_source_branch=true
`
args := []string{"-c", fmt.Sprintf(shell, username, branch, fmt.Sprintf("%s merge code into %s", username, branch))}

fmt.Println(fmt.Sprintf(shell, username, branch, fmt.Sprintf("%s merge code into %s", username, branch)))
cmd := exec.Command("/bin/sh", args...)
out, err := cmd.CombinedOutput()
if err != nil {
Expand Down

0 comments on commit da5473f

Please sign in to comment.