sindresorhus / gulp-nunjucks

Precompile Nunjucks templates
MIT License
152 stars 20 forks source link

Use Buffer.from instead of new Buffer #21

Closed mohitsinghs closed 7 years ago

mohitsinghs commented 7 years ago

Your ava is angry and causing tests to fail due to the use of new Buffer everywhere. I changed this to more safer Buffer.from as per suggestion of ava and everything is fine again.