(p Prompt)
| 427 | } |
| 428 | |
| 429 | func CommentableInteractiveCreateIfNoneSurvey(p Prompt) func() (bool, error) { |
| 430 | return func() (bool, error) { |
| 431 | return p.Confirm("No comments found. Create one?", true) |
| 432 | } |
| 433 | } |
| 434 | |
| 435 | func CommentableEditSurvey(cf func() (gh.Config, error), io *iostreams.IOStreams) func(string) (string, error) { |
| 436 | return func(initialValue string) (string, error) { |
no test coverage detected