From d74f42e05e5e925f6e5575394f243c21edf0f430 Mon Sep 17 00:00:00 2001 From: Jeremy Levy Date: Tue, 31 May 2022 16:39:28 +0200 Subject: [PATCH] Improve no user config warnings wording --- internal/entities/dev_env_user_config_resolver.go | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/internal/entities/dev_env_user_config_resolver.go b/internal/entities/dev_env_user_config_resolver.go index 2acda92..2380afc 100644 --- a/internal/entities/dev_env_user_config_resolver.go +++ b/internal/entities/dev_env_user_config_resolver.go @@ -53,19 +53,13 @@ func (d DevEnvUserConfigResolver) Resolve() ( } if !userHasDevEnvUserConfigRepo { - bold := constants.Bold - yellow := constants.Yellow + yellow := constants.Blue d.logger.Log( - "\n%s "+bold("No repository \"%s\" found in GitHub account \"%s\"."), - bold(yellow("Warning!")), + "\n%s No repository \"%s\" found in GitHub account \"%s\". The repository \"%s\" will be used instead.", + yellow("[Info]"), entities.DevEnvUserConfigRepoName, devEnvUserConfigRepoOwner, - ) - - d.logger.Log( - "\n%s "+bold("Fallback to \"%s\" for user base configuration."), - bold(yellow("Warning!")), entities.DevEnvUserConfigDefaultRepoOwner+"/"+entities.DevEnvUserConfigRepoName, )