forwardemail / email-templates

Create, preview (browser/iOS Simulator), and send custom email templates for Node.js. Made for @forwardemail, @ladjs, @cabinjs, @spamscanner, and @breejs.
https://forwardemail.net/docs/send-emails-with-node-js-javascript
MIT License
3.67k stars 337 forks source link

Allow absolute template paths #329

Closed pke closed 6 years ago

pke commented 6 years ago

One can now specify an absolute path for templates and views root is ignored in that case.

Fixes https://github.com/niftylettuce/email-templates/issues/320 https://github.com/niftylettuce/bug-bounties/issues/1

codecov-io commented 6 years ago

Codecov Report

Merging #329 into master will increase coverage by 0.07%. The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #329      +/-   ##
==========================================
+ Coverage   91.74%   91.81%   +0.07%     
==========================================
  Files           1        1              
  Lines         109      110       +1     
==========================================
+ Hits          100      101       +1     
  Misses          9        9
Impacted Files Coverage Δ
src/index.js 91.81% <100%> (+0.07%) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update a296f10...1b279e8. Read the comment docs.