updated git_foreach_repo.sh

pull/2/head
Hari Sekhon 4 years ago
parent c64cd6c290
commit b5bddf7238

@ -110,6 +110,10 @@ execute_repo(){
# shellcheck disable=SC2016
cmd="${cmd//\{dir\}/'$repo_dir'}"
eval "$cmd"
if [[ "$cmd" =~ github_.*.sh ]]; then
# throttle hitting the GitHub API too often as it may error out
sleep 0.1
fi
popd >/dev/null
echo >&2
}

Loading…
Cancel
Save