G-Rath / osv-detector

MIT License
61 stars 9 forks source link

refactor(semantic): simplify comparing of RubyGem version components #275

Closed G-Rath closed 2 weeks ago

G-Rath commented 2 weeks ago

I realised that I have overly complicated the act of returning the result of comparing components in this function, and that the last two conditions will never be true as we loop over the largest number of components 😅