Skip to content

Commit

Permalink
Adding more condition for empty env suggestion checking
Browse files Browse the repository at this point in the history
  • Loading branch information
lovestaco committed Aug 13, 2023
1 parent a11245a commit 5a0bd89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion controller/controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ func Process(version string) {
oldDir, _ := os.Getwd()
utils.ChangeWorkingDir(dir)

if (o.Env) == "" {
if (o.Env) == "" && len(o.Output) == 0 {
envMap, err := preprocess.GetL2EnvVariables(dir)
if err != nil {
log.Error().Str("Type", "Preprocess").Msg(err.Error())
Expand Down

0 comments on commit 5a0bd89

Please sign in to comment.