Clean up Title Survey empty title message code
This commit is contained in:
parent
c1897f3122
commit
13ab02729b
1 changed files with 1 additions and 3 deletions
|
|
@ -119,9 +119,7 @@ func TitleSurvey(p Prompt, io *iostreams.IOStreams, state *IssueMetadataState) e
|
|||
return err
|
||||
}
|
||||
if result == "" {
|
||||
colorizeRed := io.ColorScheme().ColorFromString("red")
|
||||
msg := fmt.Sprintf("%s Title cannot be blank.", colorizeRed("X"))
|
||||
fmt.Fprintln(io.ErrOut, msg)
|
||||
fmt.Fprintf(io.ErrOut, "%s Title cannot be blank\n", io.ColorScheme().FailureIcon())
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue