bithavoc / express-winston

express.js middleware for winstonjs
https://www.npmjs.com/package/express-winston
MIT License
798 stars 186 forks source link

Template interpolation affects all uses of underscore #17

Closed scriby closed 9 years ago

scriby commented 10 years ago

https://github.com/heapsource/express-winston/blob/4472ed235541b52582f48486a0f1863211d29555/index.js#L167

You might consider resetting the template interpolation setting back to what it was afterwards as this affects all instances of underscore templates in the current process.

(I do use underscore templating with the default settings in one of my projects)

bithavoc commented 10 years ago

Makes sense, can you send a pull request?