dylanb / gulp-coverage

Gulp coverage reporting for Node.js that is independent of the test runner
MIT License
60 stars 12 forks source link

Error if enforce is called without options #6

Closed adam-lynch closed 10 years ago

adam-lynch commented 10 years ago

Cannot read property 'statements' of undefined

dylanb commented 10 years ago

Can you check which version you are using because I cannot reproduce this with the latest version.

adam-lynch commented 10 years ago

0.0.16

dylanb commented 10 years ago

you need at least 0.0.17, that has a fix for this problem

adam-lynch commented 10 years ago

0.0.16 is the latest available via NPM; npmjs.org/package/gulp-coverage.

(cc: #4, #7)

dylanb commented 10 years ago

I hate npm caching. I updated that last week and that must have failed.

dylanb commented 10 years ago

ok, I have published it now and confirmed that it is published. My apologies.

dylanb commented 10 years ago

@adam-lynch is this fixed with 0.0.17?

adam-lynch commented 10 years ago

Yup

adam-lynch commented 10 years ago

Sorry, forgot to reply