We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 51b6572 commit 582a522Copy full SHA for 582a522
source/plugins/languages/analyzer/recent.mjs
@@ -97,7 +97,7 @@ export class RecentAnalyzer extends Analyzer {
97
98
99
this.debug(`fetched ${commits.length} commits`)
100
- this.results.latest = Math.round((new Date().getTime() - new Date(commits.slice(-1).shift()?.created_at).getTime()) / (1000 * 60 * 60 * 24))
+ this.results.latest = Math.round((new Date().getTime() - new Date(events.slice(-1).shift()?.created_at).getTime()) / (1000 * 60 * 60 * 24))
101
this.results.commits = commits.length
102
103
//Retrieve edited files and filter edited lines (those starting with +/-) from patches
0 commit comments