Plugin silently fail when a variable is missing
lorem--ipsum opened this issue · comments
Sébastien commented
Hey, first of all thanks for this useful plugin :-)
I've found that when including a variable not present in the data, the plugin silently stops working... Any hint ?
Sindre Sorhus commented
What does "stop working" mean? Can you provide a reproducible test-case?
As you can see from the code https://github.com/sindresorhus/gulp-template/blob/master/index.js we're pretty much just passing your string and data to the Lodash template function. So I doubt the problem is with this plugin.
Sébastien commented
Hmm okay. Thanks !