INNER CODE UNIT · Go
dependencies
transcend-io/terragrunt-atlantis-config · cmd/generate.go:223
dependencies = append(dependencies, *arg.RequiredVarFiles...)
}
if arg.OptionalVarFiles != nil {
dependencies = append(dependencies, *arg.OptionalVarFiles...)
}
if arg.Arguments != nil {
for _, cliFlag := range *arg.Arguments {
if strings.HasPrefix(cliFlag, "-var-file=") {
dependencies = append(dependencies, strings.TrimPrefix(cliFlag, "-var-file="))
}
}
}
}
}
// Filter out and dependencies that are the empty string
nonEmptyDeps := []string{}
for _, dep := range dependencies {