We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 08a2f79 + 40c8688 commit b3b009dCopy full SHA for b3b009d
pkg/utils/utils.go
@@ -43,7 +43,7 @@ func LoadEnvFile() []string {
43
env := os.Environ()
44
45
if file, ok := os.LookupEnv("ENV_FILE"); ok {
46
- if data, err := os.ReadFile(file); err != nil {
+ if data, err := os.ReadFile(file); err == nil {
47
env = append(env, strings.Split(string(data), "/n")...)
48
}
49
0 commit comments