INNER CODE UNIT · Go
dependencies
transcend-io/terragrunt-atlantis-config · cmd/generate.go:226
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 {
if dep != "" {
childDepAbsPath := dep
if !filepath.IsAbs(childDepAbsPath) {