From 1f51ea9ddfa641a26582a820115132ae9647a070 Mon Sep 17 00:00:00 2001 From: Jay Gabriels Date: Fri, 14 Aug 2020 15:03:14 -0700 Subject: [PATCH] fix env to check for in configs, derp --- configs/configs.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configs/configs.go b/configs/configs.go index 897a0f68..69b0b386 100644 --- a/configs/configs.go +++ b/configs/configs.go @@ -140,7 +140,7 @@ func getOrSetDefaults(envVar string) { s := viper.GetString(envVar) // envs that need a trailing slash - if envVar == "GHORG_SCM_TYPE" || envVar == "GHORG_ABSOLUTE_PATH_TO_CLONE_TO" { + if envVar == "GHORG_SCM_BASE_URL" || envVar == "GHORG_ABSOLUTE_PATH_TO_CLONE_TO" { os.Setenv(envVar, EnsureTrailingSlash(s)) } else { os.Setenv(envVar, s)