(ctx *snap.Context, payload *commitPayload)
| 2725 | } |
| 2726 | |
| 2727 | func printCommitSuccess(ctx *snap.Context, payload *commitPayload) { |
| 2728 | if len(payload.paragraphs) == 0 { |
| 2729 | return |
| 2730 | } |
| 2731 | fmt.Fprintf(ctx.Stdout(), "✔️ Committed with message: %s\n", payload.paragraphs[0]) |
| 2732 | } |
| 2733 | |
| 2734 | func promptCommitConfirmation(ctx *snap.Context, message string) (string, bool, error) { |
| 2735 | current := message |
no outgoing calls
no test coverage detected