@@ -100,16 +100,11 @@ export class RecentAnalyzer extends Analyzer {
100100 this . results . latest = Math . round ( ( new Date ( ) . getTime ( ) - new Date ( commits . slice ( - 1 ) . shift ( ) ?. created_at ) . getTime ( ) ) / ( 1000 * 60 * 60 * 24 ) )
101101 this . results . commits = commits . length
102102
103- commits . forEach ( commit => {
104- this . debug ( JSON . stringify ( commit ) ) ;
105- } ) ;
106-
107103 //Retrieve edited files and filter edited lines (those starting with +/-) from patches
108104 this . debug ( "fetching patches" )
109105 const patches = [
110106 ...await Promise . allSettled (
111107 commits
112- . flatMap ( ( { payload} ) => payload . commits )
113108 . filter ( ( { committer} ) => filters . text ( committer ?. email , this . authoring , { debug : false } ) )
114109 . map ( commit => commit . url )
115110 . map ( async commit => ( await this . rest . request ( commit ) ) . data ) ,
@@ -118,9 +113,9 @@ export class RecentAnalyzer extends Analyzer {
118113 . filter ( ( { status} ) => status === "fulfilled" )
119114 . map ( ( { value} ) => value )
120115 . filter ( ( { parents} ) => parents . length <= 1 )
121- . map ( ( { sha, commit : { message, committer } , verification, files} ) => ( {
116+ . map ( ( { sha, commit : { message, author } , verification, files } ) => ( {
122117 sha,
123- name : `${ message } (authored by ${ committer . name } on ${ committer . date } )` ,
118+ name : `${ message } (authored by ${ author . name } on ${ author . date } )` ,
124119 verified : verification ?. verified ?? null ,
125120 editions : files . map ( ( { filename, patch = "" } ) => {
126121 const edition = {
0 commit comments