Skip to content

Commit

Permalink
Improve no user config warnings wording
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremylevy committed May 31, 2022
1 parent cc5b614 commit d74f42e
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions internal/entities/dev_env_user_config_resolver.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
)

Expand Down

0 comments on commit d74f42e

Please # to comment.