Skip to content
This repository was archived by the owner on Nov 29, 2022. It is now read-only.

Commit 409284f

Browse files
authored
fix: do not recurse on .terraform folder (#56)
1 parent fe49310 commit 409284f

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

internal/fs/folder.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ func GetSubFolderList(pathF string) []string {
5050
utils.EnsureOrFatal(err)
5151

5252
for _, f := range filesInfo {
53-
if f.IsDir() {
53+
if f.IsDir() && f.Name() != ".terraform" {
5454
folders = append(folders, path.Join(pathF, f.Name()))
5555
}
5656
}

internal/fs/testdata/modules/.terraform/.gitkeep

Whitespace-only changes.

0 commit comments

Comments
 (0)