You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey I just noticed that when you pass in a plural name for a template that is the same as the singular name, e.g., assemble.create('foo', 'foo');, the following error occurs:
return this[plural].apply(this, arguments);
^
RangeError: Maximum call stack size exceeded
I doubt someone would do this very often (and, yes, I did this intentionally), but might be better to throw an error instead.
The text was updated successfully, but these errors were encountered:
Hey I just noticed that when you pass in a plural name for a template that is the same as the singular name, e.g.,
assemble.create('foo', 'foo');
, the following error occurs:I doubt someone would do this very often (and, yes, I did this intentionally), but might be better to throw an error instead.
The text was updated successfully, but these errors were encountered: