From 9ba9604256964f52ff102b16acf782d8c56d87ff Mon Sep 17 00:00:00 2001 From: Xinyu Zhou Date: Mon, 19 Dec 2022 09:06:24 +0800 Subject: [PATCH] fix(typo): Use uppercase N for default input prompt (#9) Runner is already registered, overwrite local config? [y/N] Reviewed-on: https://gitea.com/gitea/act_runner/pulls/9 Reviewed-by: Jason Song Reviewed-by: Lunny Xiao Co-authored-by: Xinyu Zhou Co-committed-by: Xinyu Zhou --- cmd/register.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/register.go b/cmd/register.go index 3e2ae02..839ad3e 100644 --- a/cmd/register.go +++ b/cmd/register.go @@ -218,7 +218,7 @@ func registerInteractive(envFile string) error { func printStageHelp(stage registerStage) { switch stage { case StageOverwriteLocalConfig: - log.Infoln("Runner is already registered, overwrite local config? [Y/n]") + log.Infoln("Runner is already registered, overwrite local config? [y/N]") case StageInputInstance: log.Infoln("Enter the Gitea instance URL (for example, https://gitea.com/):") case StageInputToken: