Skip to content

Commit

Permalink
fix(cli): autoformat
Browse files Browse the repository at this point in the history
  • Loading branch information
Malinskiy committed Oct 9, 2023
1 parent 0cc9d20 commit 9667789
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ var config *viper.Viper
func ReadFlags() error {
config = viper.New()

CONFIG_HOST := flag.String("host", "app.testwise.pro", "Marathon Cloud API host")
CONFIG_HOST := flag.String("host", "app.testwise.pro", "Marathon Cloud API host")
CONFIG_APP := flag.String(
"app",
"",
Expand All @@ -40,7 +40,7 @@ func ReadFlags() error {

flag.Parse()

config.Set("HOST", *CONFIG_HOST);
config.Set("HOST", *CONFIG_HOST)

// app
if len(*CONFIG_APP) > 0 {
Expand Down Expand Up @@ -88,7 +88,7 @@ func ReadFlags() error {
return errors.New("api-key or login with password must be specified")
}

config.Set("NAME", *CONFIG_COMMIT_NAME)
config.Set("NAME", *CONFIG_COMMIT_NAME)
config.Set("LINK", *CONFIG_COMMIT_LINK)
config.Set("ALLURE_OUTPUT", *CONFIG_ALLURE_OUTPUT)
config.Set("OS_VERSION", *CONFIG_OS_VERSION)
Expand Down

0 comments on commit 9667789

Please sign in to comment.