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.
1 parent 98605b6 commit e7c94d7Copy full SHA for e7c94d7
internal/utils/env.go
@@ -205,7 +205,7 @@ func GenerateEnvFile(customEnvFile string) error {
205
206
// Handle custom env file if provided
207
if customEnvFile != "" {
208
- if customEnvContent, err := os.ReadFile(customEnvFile); err != nil {
+ if customEnvContent, err := os.ReadFile(customEnvFile); err == nil {
209
customEnvMap := EnvStringToMap(string(customEnvContent))
210
maps.Copy(newEnv, customEnvMap)
211
} else {
0 commit comments