vishesh-baghel / glide

You can see how Glidee-bot works by installing it from here
https://github.com/apps/glidee-bot
ISC License
0 stars 0 forks source link

Not able to calculate risk score due to error while sorting the commit list #24

Closed vishesh-baghel closed 8 months ago

vishesh-baghel commented 8 months ago

WARN (probot): Commit date not specified ERROR (probot): a.date.getTime is not a function TypeError: a.date.getTime is not a function at /home/vishesh.baghel/Documents/workspace/personal-projects/glide/lib/services/riskScoreService.js:7:54 at Array.sort () at calculateRiskScore (/home/vishesh.baghel/Documents/workspace/personal-projects/glide/lib/services/riskScoreService.js:7:17) at /home/vishesh.baghel/Documents/workspace/personal-projects/glide/lib/services/repositoryService.js:129:98 at Array.map () at /home/vishesh.baghel/Documents/workspace/personal-projects/glide/lib/services/repositoryService.js:121:60 at step (/home/vishesh.baghel/Documents/workspace/personal-projects/glide/lib/services/repositoryService.js:33:23) at Object.next (/home/vishesh.baghel/Documents/workspace/personal-projects/glide/lib/services/repositoryService.js:14:53) at fulfilled (/home/vishesh.baghel/Documents/workspace/personal-projects/glide/lib/services/repositoryService.js:5:58)

vishesh-baghel commented 8 months ago

Fixed in #16