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