wbond / pybars3

Handlebars.js template support for Python 3 and 2
GNU Lesser General Public License v3.0
179 stars 46 forks source link

Do not crash when item does not exist at a specific index #68

Closed isaacdd closed 2 years ago

isaacdd commented 4 years ago

Fixes https://github.com/wbond/pybars3/issues/67

codecov[bot] commented 4 years ago

Codecov Report

Merging #68 into master will increase coverage by 0.03%. The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #68      +/-   ##
==========================================
+ Coverage   92.75%   92.78%   +0.03%     
==========================================
  Files           2        2              
  Lines         400      402       +2     
  Branches       69       70       +1     
==========================================
+ Hits          371      373       +2     
  Misses         17       17              
  Partials       12       12
Impacted Files Coverage Δ
pybars/_compiler.py 92.67% <100%> (+0.03%) :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 7a8bd6d...e02fc0f. Read the comment docs.

codecov-commenter commented 2 years ago

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@9655878). Click here to learn what that means. The diff coverage is 100.00%.

:exclamation: Current head e02fc0f differs from pull request most recent head a8de03e. Consider uploading reports for the commit a8de03e to get more accurate results

@@            Coverage Diff            @@
##             master      #68   +/-   ##
=========================================
  Coverage          ?   92.78%           
=========================================
  Files             ?        2           
  Lines             ?      402           
  Branches          ?       70           
=========================================
  Hits              ?      373           
  Misses            ?       17           
  Partials          ?       12           
Impacted Files Coverage Δ
pybars/_compiler.py 92.67% <100.00%> (ø)

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 9655878...a8de03e. Read the comment docs.

wbond commented 2 years ago

Thanks for this @isaacdd!