zspecza / common-tags

🔖 Useful template literal tags for dealing with strings in ES2015+
Other
1.99k stars 60 forks source link

Fix the case of nested code for the source tag #182

Closed fatfisz closed 5 years ago

fatfisz commented 5 years ago

This solves #160.

codecov[bot] commented 5 years ago

Codecov Report

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

Impacted file tree graph

@@          Coverage Diff          @@
##           master   #182   +/-   ##
=====================================
  Coverage     100%   100%           
=====================================
  Files          27     30    +3     
  Lines         112    121    +9     
  Branches       29     31    +2     
=====================================
+ Hits          112    121    +9
Impacted Files Coverage Δ
...c/inlineArrayTransformer/inlineArrayTransformer.js 100% <100%> (ø) :arrow_up:
src/utils/stripLastNewLine/stripLastNewLine.js 100% <100%> (ø)
src/createTag/createTag.js 100% <100%> (ø) :arrow_up:
src/utils/toString/toString.js 100% <100%> (ø)
src/utils/prefixLines/prefixLines.js 100% <100%> (ø)

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 b02295b...d5f710f. Read the comment docs.