hparra / gulp-rename

Rename files easily
MIT License
692 stars 73 forks source link

Pass the original file to the rename plugin #82

Closed jrpomeroy closed 6 years ago

jrpomeroy commented 6 years ago

https://github.com/hparra/gulp-rename/issues/63

jrpomeroy commented 6 years ago

This makes my life a whole lot easier so I'd love to get it in. If you have any pointers about how I might go about testing it I can give that a go.

yocontra commented 6 years ago

Cool - this closes #63 cleanly. Exactly what I was looking for.

As for the tests, you can add a basic one that ensures the argument exists and checks a few properties on it to make sure it's getting everything correctly.