Skip to content

Commit ce89141

Browse files
committed
revert: Print name/mail length
Signed-off-by: Cezar Craciunoiu <[email protected]>
1 parent c9a37ad commit ce89141

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

cmd/governctl/pr/merge.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -207,6 +207,7 @@ func (opts *Merge) Run(ctx context.Context, args []string) error {
207207

208208
// Add commiter name
209209
if opts.CommitterName != "" {
210+
fmt.Printf("Name length: %d\n", len(opts.CommitterName))
210211
cmd := exec.Command("git", "-C", opts.Repo, "config", "user.name", opts.CommitterName)
211212
cmd.Stderr = log.G(ctx).WriterLevel(logrus.ErrorLevel)
212213
cmd.Stdout = log.G(ctx).WriterLevel(logrus.DebugLevel)
@@ -217,6 +218,7 @@ func (opts *Merge) Run(ctx context.Context, args []string) error {
217218

218219
// Add commiter email
219220
if opts.CommitterEmail != "" {
221+
fmt.Printf("Mail length: %d\n", len(opts.CommitterEmail))
220222
cmd := exec.Command("git", "-C", opts.Repo, "config", "user.email", opts.CommitterEmail)
221223
cmd.Stderr = log.G(ctx).WriterLevel(logrus.ErrorLevel)
222224
cmd.Stdout = log.G(ctx).WriterLevel(logrus.DebugLevel)

0 commit comments

Comments
 (0)