pulsar-edit / ppm

Pulsar Package Manager
MIT License
35 stars 13 forks source link

Cleanup `visualStudioIsInstalled()` #85

Closed confused-Techie closed 1 year ago

confused-Techie commented 1 year ago

While decaffing the code, I found a very ugly unmaintainable piece of code, that I couldn't just let it stay there.

So this PR rewrites it to be much cleaner, much more understandable, easier to maintainer, and easier to add new values to, if needed.

Should result in zero logic changes.

confused-Techie commented 1 year ago

I'd like to mention, the single failure here is not the fault of this PR, and is resolved over on #86