File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -169,12 +169,7 @@ mod config {
169169
170170#[ cfg( feature = "ssr" ) ]
171171pub async fn fetch_contributors ( ) -> ContributorsResponse {
172- println ! ( "DEBUG: Starting fetch_contributors()" ) ;
173172 let mut all_contributors = fetch_all_contributors_with_pagination ( ) . await ;
174- println ! (
175- "DEBUG: fetch_contributors returned {} contributors" ,
176- all_contributors. len( )
177- ) ;
178173
179174 all_contributors. sort_by_key ( |a| {
180175 a. contributions_collection
@@ -231,15 +226,9 @@ async fn fetch_all_contributors_with_pagination() -> Vec<Contributor> {
231226 }
232227
233228 let mut collab_page_info = collabs. page_info ;
234- let repo_name = repo. name . clone ( ) ;
235229 while collab_page_info. has_next_page {
236230 let collab_cursor = collab_page_info. end_cursor . clone ( ) ;
237231
238- println ! (
239- "DEBUG: Fetching more collabs for repo '{}', repo_cursor={:?}, collab_cursor={:?}" ,
240- repo_name, repo_cursor, collab_cursor
241- ) ;
242-
243232 let collab_response = execute_repository_query (
244233 config:: ORGANIZATION_LOGIN ,
245234 1 ,
@@ -358,13 +347,6 @@ async fn execute_repository_query(
358347 } ;
359348
360349 let org_data = parsed. data . unwrap_or_else ( empty_org_data) ;
361- let repo_count = org_data
362- . organization
363- . repositories
364- . nodes
365- . as_ref ( )
366- . map ( |n| n. len ( ) )
367- . unwrap_or ( 0 ) ;
368350
369351 org_data
370352}
You can’t perform that action at this time.
0 commit comments