diff --git a/hack/module.sh b/hack/module.sh index 8cb7e1b72..0675efc32 100755 --- a/hack/module.sh +++ b/hack/module.sh @@ -30,7 +30,7 @@ function with_modules() { cmd="$(${cmd_function})" pushd "${root_dir}" - for mod_file in $(find . -maxdepth 3 -name go.mod); do + for mod_file in $(find . -maxdepth 4 -name go.mod); do mod_dir="$(dirname "${mod_file}")" ( echo "=> " && \ @@ -56,4 +56,4 @@ function main() { esac } -main "$@" \ No newline at end of file +main "$@"