diff --git a/controller/controller.go b/controller/controller.go index b3f0feca..94813a09 100644 --- a/controller/controller.go +++ b/controller/controller.go @@ -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())