Skip to content

Commit

Permalink
Merge pull request #19 from nebur1989/main
Browse files Browse the repository at this point in the history
Updated to enable find terragrunt.hcl files which are links
  • Loading branch information
ivanilves authored Oct 27, 2022
2 parents eef92fd + 626048d commit 5abdc50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/directory/directory.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ func isHidden(d os.DirEntry) bool {
}

func isTerragruntConfig(d os.DirEntry) bool {
return d.Type().IsRegular() && d.Name() == "terragrunt.hcl"
return (d.Type().IsRegular() || d.Type() == os.ModeSymlink) && d.Name() == "terragrunt.hcl"
}

// Collect gets a list of directory path entries containing file "terragrunt.hcl"
Expand Down

0 comments on commit 5abdc50

Please sign in to comment.