avajs / ava-codemods

Codemods for AVA
https://ava.li
MIT License
68 stars 16 forks source link

Add .error to .ifError codemod #27

Closed platy11 closed 8 years ago

platy11 commented 8 years ago

See avajs/ava#995

platy11 commented 8 years ago

@sindresorhus @jamestalmage What happened in the Travis build? (https://travis-ci.org/avajs/ava-codemods/jobs/151768289)

jfmengels commented 8 years ago

I can't check the problems with the tests into much detail right now, but it only breaks on 0.1X versions of Node, which I'm not sure we want to support anymore anyway.

This lookgs great, thanks @platy11!

platy11 commented 8 years ago

@sindresorhus Can you have a look at this?

sindresorhus commented 8 years ago

Looks great @platy11. Nice work :)