Skip to content

Commit 54483e6

Browse files
committed
move comment
1 parent a6c4fb5 commit 54483e6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

provisioner/terraform/modules.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,9 +104,9 @@ func GetModulesArchive(root fs.FS) ([]byte, error) {
104104
return nil
105105
}
106106

107+
// .git directories are not needed in the archive and only cause
108+
// hash differences for identical modules.
107109
if fileMode.IsDir() && d.Name() == ".git" {
108-
// .git directories are not needed in the archive and only cause
109-
// hash differences for identical modules.
110110
return fs.SkipDir
111111
}
112112

0 commit comments

Comments
 (0)