Skip to content

Commit

Permalink
Added debug log
Browse files Browse the repository at this point in the history
  • Loading branch information
rmanaem committed Aug 24, 2024
1 parent f3ee1c8 commit ca1aa99
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions scripts/fetch-repos.sh
Original file line number Diff line number Diff line change
Expand Up @@ -55,14 +55,13 @@ while true; do

# Add the repository information to the array
REPOS+=("{\"name\": \"$REPO_NAME\", \"annotated\": $ANNOTATED}")
echo "$REPO_NAME is annotated: $ANNOTATED"
done

# Increment page number
((PAGE++))
done

# Write repository information to the JSON file
# Write repository information to the JSON file, ensuring it's clean
echo "[${REPOS[*]}]" | jq '.' > "$OUTPUT_FILE"

# Debug: Output final JSON file content
Expand Down

0 comments on commit ca1aa99

Please sign in to comment.