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