sindresorhus / gulp-template

Render/precompile Lodash templates

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Plugin silently fail when a variable is missing

lorem--ipsum opened this issue · comments

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 ?

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.

Hmm okay. Thanks !