Skip to content

Commit

Permalink
Change HasPrefix to Contains in .terragrunt-cache check
Browse files Browse the repository at this point in the history
  • Loading branch information
brikis98 committed Jul 10, 2018
1 parent a41c99c commit fefdba6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ func FindConfigFilesInPath(rootPath string) ([]string, error) {
}

if info.IsDir() {
if strings.HasPrefix(info.Name(), options.TerragruntCacheDir) {
if strings.Contains(info.Name(), options.TerragruntCacheDir) {
return nil
}

Expand Down

0 comments on commit fefdba6

Please sign in to comment.