File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -533,15 +533,19 @@ async function generateChangelog({
533533 a . toLowerCase ( ) . localeCompare ( b . toLowerCase ( ) ) ,
534534 ) ;
535535
536- if ( contributors . length > 0 ) {
536+ if ( contributors . length > 1 ) {
537537 lines . push (
538- `Special thanks go out to the community members for their valuable contributions:\n${ contributors . join ( ', ' ) } ` ,
538+ `Special thanks go out to these community members for their valuable contributions:\n${ contributors . join ( ', ' ) } ` ,
539+ ) ;
540+ } else if ( contributors . length === 1 ) {
541+ lines . push (
542+ `Special thanks go out to community member ${ contributors [ 0 ] } for their valuable contribution.` ,
539543 ) ;
540544 }
541545
542546 if ( community . team . size > 0 ) {
543547 lines . push (
544- `The following are all team members who have contributed to this release:\n${ teamMembers . join ( ', ' ) } ` ,
548+ `The following team members contributed to this release:\n${ teamMembers . join ( ', ' ) } ` ,
545549 ) ;
546550 }
547551
You can’t perform that action at this time.
0 commit comments