Skip to content

Commit

Permalink
fixed empty vars being generated
Browse files Browse the repository at this point in the history
  • Loading branch information
s1moe2 committed Jan 15, 2021
1 parent 4369fcb commit 31734ae
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions generator/generator.go
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,7 @@ func getVariablesValues(envVars []string, suffix string) ([]string, []string) {
val, ok := os.LookupEnv(v + suffix)
if !ok || len(val) == 0 {
missing = append(missing, v)
continue
}

vars = append(vars, fmt.Sprintf("%s=%s", v, val))
Expand Down

0 comments on commit 31734ae

Please sign in to comment.