chore: use Printf() instead of Println(Sprintf())

This commit is contained in:
2024-01-05 19:16:54 +01:00
parent 192d430039
commit 0c4d5b2e69
5 changed files with 18 additions and 21 deletions

View File

@ -68,7 +68,7 @@ local file system.
if internal.NoInput {
logrus.Fatalf("unable to continue, input required for initial version")
}
fmt.Println(fmt.Sprintf(`
fmt.Printf(`
The following options are two types of initial semantic version that you can
pick for %s that will be published in the recipe catalogue. This follows the
semver convention (more on https://semver.org), here is a short cheatsheet
@ -85,7 +85,7 @@ If you want people to be able alpha test your current config for %s but don't
think it is quite reliable, go with 0.1.0 and people will know that things are
likely to change.
`, recipe.Name, recipe.Name))
`, recipe.Name, recipe.Name)
var chosenVersion string
edPrompt := &survey.Select{
Message: "which version do you want to begin with?",