@@ -17,7 +17,10 @@ export interface GitHubContributor {
1717 socialAccounts : SocialAccount [ ]
1818}
1919
20- type GitHubAPIContributor = Omit < GitHubContributor , 'role' | 'sponsors_url' | 'bio' | 'socialAccounts' >
20+ type GitHubAPIContributor = Omit <
21+ GitHubContributor ,
22+ 'role' | 'sponsors_url' | 'bio' | 'socialAccounts'
23+ >
2124
2225// Fallback when no GitHub token is available (e.g. preview environments).
2326// Only stewards are shown as maintainers; everyone else is a contributor.
@@ -112,13 +115,16 @@ async function fetchGovernanceProfiles(
112115 }
113116
114117 const json = ( await response . json ( ) ) as {
115- data ?: Record < string , {
116- login : string
117- hasSponsorsListing : boolean
118- bio : string | null
119- twitterUsername : string | null
120- socialAccounts : { nodes : { provider : string ; url : string } [ ] }
121- } | null >
118+ data ?: Record <
119+ string ,
120+ {
121+ login : string
122+ hasSponsorsListing : boolean
123+ bio : string | null
124+ twitterUsername : string | null
125+ socialAccounts : { nodes : { provider : string ; url : string } [ ] }
126+ } | null
127+ >
122128 }
123129
124130 const profiles = new Map < string , GovernanceProfile > ( )
@@ -133,7 +139,10 @@ async function fetchGovernanceProfiles(
133139 // single unified array. GitHub returns it separately because it
134140 // predates the socialAccounts field.
135141 if ( user . twitterUsername && ! socialAccounts . some ( a => a . provider === 'TWITTER' ) ) {
136- socialAccounts . unshift ( { provider : 'TWITTER' , url : `https://x.com/${ user . twitterUsername } ` } )
142+ socialAccounts . unshift ( {
143+ provider : 'TWITTER' ,
144+ url : `https://x.com/${ user . twitterUsername } ` ,
145+ } )
137146 }
138147 profiles . set ( user . login , {
139148 hasSponsorsListing : user . hasSponsorsListing ,
0 commit comments