matthiasnoback / live-code-coverage

Generate code coverage reports on a live server
MIT License
116 stars 8 forks source link

Don't fail if no coverage driver is available #3

Closed matthiasnoback closed 6 years ago

matthiasnoback commented 6 years ago

It would help if the tool could determine on its own whether or not it can even run (this would be a good example of defensive coding by the way, where we would normally prefer offensive coding).

matthiasnoback commented 6 years ago

The switch is now a custom one (first argument), so no need to base the decision on the availability of a driver.