Skip to content

Commit

Permalink
Remove potential Error Spot
Browse files Browse the repository at this point in the history
  • Loading branch information
adamjsturge authored Dec 5, 2024
1 parent 9158406 commit 86ca530
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions util.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,11 @@ func checkFileExists(filepath string) bool {
}

func get_env(key string) string {
if constant[key] == "" {
constant[key] = os.Getenv(key)
}
return constant[key]
// if constant[key] == "" {
// constant[key] = os.Getenv(key)
// }
// return constant[key]
return os.Getenv(key)
}

func parameter_to_int(input string, default_int int) int {
Expand Down

0 comments on commit 86ca530

Please sign in to comment.