Skip to content

Commit dcee0e8

Browse files
committed
Fixes an issue with an empty return
1 parent 8855d20 commit dcee0e8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

env/env.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ func GetEnv(envKey string, exitOnMissing bool) (value string) {
5858
if len(value) == 0 && exitOnMissing {
5959
panic(fmt.Sprintf("Environment variable '%s' is not set. \n", envKey))
6060
}
61-
return``
61+
return
6262
}
6363

6464
func GetEnvWithDefault(env, defaultValue string) (value string) {

0 commit comments

Comments
 (0)