scanoss / webhook

This is the repository of the SCANOSS webhook
BSD 3-Clause "New" or "Revised" License
5 stars 5 forks source link

initialize files dict inside commit array so they don't accumulate #14

Closed simsandyca closed 1 year ago

simsandyca commented 1 year ago

A fix I did to move initialization of the files dictionary so that the file list doesn't accumulate across commits. As the hook works through commit array it was commenting on all the commits because the first commit had a matching file.