diff --git a/hack/module.sh b/hack/module.sh index d0a19d77..c870caec 100755 --- a/hack/module.sh +++ b/hack/module.sh @@ -49,7 +49,7 @@ function with_modules() { cmd="$(${cmd_function})" pushd "${root_dir}" - for mod_file in $(find . -maxdepth 4 -name go.mod); do + for mod_file in $(find . -maxdepth 4 -name go.mod | sort); do mod_dir="$(dirname "${mod_file}")" ( echo "=> " && \