Skip to content

Commit 2136084

Browse files
committed
fix: Addressing lint findings
1 parent 1e53602 commit 2136084

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

test/integration_tflint_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ func TestTflintInitSameModule(t *testing.T) {
110110
// generate multiple "app" modules that will be initialized in parallel
111111
for i := 0; i < tflintInitSamples; i++ {
112112
appPath := filepath.Join(modulePath, "dev", fmt.Sprintf("app-%d", i))
113-
err := util.CopyFolderContents(createLogger(), appTemplate, appPath, ".terragrunt-test", []string{}, []string{})
113+
err := util.CopyFolderContents(createLogger(), appTemplate, appPath, ".terragrunt-test")
114114
require.NoError(t, err)
115115
}
116116

@@ -221,7 +221,7 @@ func CopyEnvironmentWithTflint(t *testing.T, environmentPath string) string {
221221

222222
t.Logf("Copying %s to %s", environmentPath, tmpDir)
223223

224-
require.NoError(t, util.CopyFolderContents(createLogger(), environmentPath, filepath.Join(tmpDir, environmentPath), ".terragrunt-test", []string{".tflint.hcl"}, []string{}))
224+
require.NoError(t, util.CopyFolderContents(createLogger(), environmentPath, filepath.Join(tmpDir, environmentPath), ".terragrunt-test", util.WithIncludeInCopy(".tflint.hcl")))
225225

226226
return tmpDir
227227
}

0 commit comments

Comments
 (0)