Closed lifeart closed 5 years ago
Thanks @lifeart 👏!
Two quick comments:
Any reason we can't do a hard throw
? If it's an invalid name, feels like we should do more than simply log a warning.
Mind including tests? Should be pretty quick if you follow the pattern in the tests already.
@davewasmer yeah, working on tests, how about console
warn +
<pre> Error description </pre
injections into template? it should be very testable
@davewasmer can you take a look?
:tada: This PR is included in version 1.1.0 :tada:
The release is available on:
Your semantic-release bot :package::rocket:
added isValidVariableName function, to check is valid template variable name or not. Looks like it can fix: