@@ -70,7 +70,7 @@ Toolkit.run(
70
70
// Add one since the content needs to be inserted just after the initial comment
71
71
startIdx ++ ;
72
72
content . forEach ( ( line , idx ) =>
73
- readmeContent . splice ( startIdx + idx , 0 , `* ${ line } ` )
73
+ readmeContent . splice ( startIdx + idx , 0 , `${ line } ` )
74
74
) ;
75
75
76
76
// Append <!--RECENT_ACTIVITY:end--> comment
@@ -94,15 +94,7 @@ Toolkit.run(
94
94
}
95
95
tools . exit . success ( "Wrote to README" ) ;
96
96
}
97
-
98
- // const oldContent = readmeContent.slice(startIdx + 1, endIdx).join("\n");
99
- // const newContent = content
100
- // .map((line, idx) => `${idx + 1}. ${line}`)
101
- // .join("\n");
102
-
103
- // // if (oldContent.trim() === newContent.trim())
104
- // // tools.exit.success("No changes detected.");
105
-
97
+
106
98
startIdx ++ ;
107
99
108
100
// Recent GitHub Activity content between the comments
@@ -116,7 +108,7 @@ Toolkit.run(
116
108
if ( ! line ) {
117
109
return true ;
118
110
}
119
- readmeContent . splice ( startIdx + idx , 0 , `* ${ line } ` ) ;
111
+ readmeContent . splice ( startIdx + idx , 0 , `${ line } ` ) ;
120
112
} ) ;
121
113
readmeContent = appendDate ( readmeContent ) ;
122
114
tools . log . success ( "Updated README with the recent activity" ) ;
0 commit comments