From 763e4c1c28fc176232e3efe827a0b622313f7dea Mon Sep 17 00:00:00 2001 From: aeneasr <3372410+aeneasr@users.noreply.github.com> Date: Tue, 31 Dec 2024 10:40:39 +0100 Subject: [PATCH] fix: remove gh repo list print out --- scripts/sync.sh | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/scripts/sync.sh b/scripts/sync.sh index 71d1418..6f38aeb 100755 --- a/scripts/sync.sh +++ b/scripts/sync.sh @@ -104,12 +104,7 @@ function replicate_all { ".github" ) - repos=$(gh repo list ory --visibility public --no-archived --source --json name -L 1000 | jq -r '.[] | .name') - - echo "Found repositories:" - echo $repos - - echo $repos | while read -r repo_name; do + gh repo list ory --visibility public --no-archived --source --json name -L 1000 | jq -r '.[] | .name' | while read -r repo_name; do # Check if the repository is in the exclusion list for excluded_repo in "${exclusion_list[@]}"; do if [[ "$repo_name" == "$excluded_repo" ]]; then