dwightjack / grunt-premailer

Grunt wrapper task for Premailer
MIT License
114 stars 16 forks source link

Dont set command inside the files loop #20

Closed iszak closed 10 years ago

iszak commented 10 years ago

I just noticed a bug in my last pull request, I was setting the cmd variable inside the files loop, so if you had defined more than one file to run through premailer it would add the exec ruby to the args array twice. I have moved it outside of it now.

Only users affected would be those using bundleExec which would only be myself at the present time.

dwightjack commented 10 years ago

Thanks.

Pushed to version 0.2.10