Our new directory structure is deeper, so expand this search.
Signed-off-by: Matt Moyer <moyerm@vmware.com>
This commit is contained in:
parent
9e9868bd16
commit
af656d4b02
@ -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 "$@"
|
||||
main "$@"
|
||||
|
Loading…
Reference in New Issue
Block a user