squirrellyjs / squirrelly

Semi-embedded JS template engine that supports helpers, filters, partials, and template inheritance. 4KB minzipped, written in TypeScript ⛺
https://squirrelly.js.org
MIT License
571 stars 81 forks source link

Update file handler renderFile function #201

Closed futurelucas4502 closed 3 years ago

futurelucas4502 commented 3 years ago

Updated the file_handler renderFile function to allow for an undefined data parameter fixing a crash

nebrelbug commented 3 years ago

@futurelucas4502 this looks fantastic! I'll merge right now.

By the way, are you ok if I add you to the README as a contributor?

futurelucas4502 commented 3 years ago

@nebrelbug yeah that'd be awesome! 😄

nebrelbug commented 3 years ago

@all-contributors please add @futurelucas4502 for bugs and code.

allcontributors[bot] commented 3 years ago

@nebrelbug

I've put up a pull request to add @futurelucas4502! :tada:

nebrelbug commented 3 years ago

@futurelucas4502 just added you to the README :tada:

Thank you! Hope you're able to contribute in the future :smiley: