jstransformers / jstransformer-nunjucks

Nunjucks support for JSTransformers.
http://npm.im/jstransformer-nunjucks
MIT License
6 stars 6 forks source link

Adding opts.root and operator precedence error #21

Closed bashaus closed 6 years ago

bashaus commented 6 years ago

I've been having trouble with paths being included and searching for templates. I've included the opts.root in addition to opts.path as metalsmith-jstransformer passes the root as opts.root and not opts.path - and the nunjucks documentation says "Tell nunjucks that your templates live at path"

codecov[bot] commented 6 years ago

Codecov Report

Merging #21 into master will not change coverage. The diff coverage is 100%.

Impacted file tree graph

@@          Coverage Diff          @@
##           master    #21   +/-   ##
=====================================
  Coverage     100%   100%           
=====================================
  Files           1      1           
  Lines          27     27           
  Branches        8      8           
=====================================
  Hits           27     27
Impacted Files Coverage Δ
index.js 100% <100%> (ø) :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 e39174c...54f901e. Read the comment docs.