File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -19,11 +19,11 @@ main() {
1919 # relative to the main script directory
2020 local registry_dir=" $script_dir /../registry"
2121
22- # Get all subdirectories in the registry directory. Code assumes that
23- # Terraform directories won't begin to appear until three levels deep into
22+ # Get all module subdirectories in the registry directory. Code assumes that
23+ # Terraform module directories won't begin to appear until three levels deep into
2424 # the registry (e.g., registry/coder/modules/coder-login, which will then
2525 # have a main.tf file inside it)
26- local subdirs=$( find " $registry_dir " -mindepth 3 -type d | sort)
26+ local subdirs=$( find " $registry_dir " -mindepth 3 -path " */modules/* " - type d | sort)
2727
2828 for dir in $subdirs ; do
2929 # Skip over any directories that obviously don't have the necessary
You can’t perform that action at this time.
0 commit comments