(options: WeeklyOptions)
| 165 | } |
| 166 | |
| 167 | function getWeeklyCommits(options: WeeklyOptions): WeeklyCommit[] { |
| 168 | return getCommits(options.from, options.to) |
| 169 | .filter((commit) => !shouldSkipCommit(commit)) |
| 170 | .map((commit) => ({ |
| 171 | ...parseCommit(commit), |
| 172 | date: commit.date, |
| 173 | })) |
| 174 | .sort(compareCommitsForDigest); |
| 175 | } |
| 176 | |
| 177 | type RawWeeklyCommit = RawCommit & { |
| 178 | date: string; |
no test coverage detected