Skip to content

Commit

Permalink
Add dependency messages for nested includes
Browse files Browse the repository at this point in the history
  • Loading branch information
devongovett authored Apr 25, 2021
1 parent 1a7ad58 commit c03608c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ module.exports = (options = {}) => {
subtree = tree.parser(source);
subtree.match = tree.match;
subtree.parser = tree.parser;
subtree.messages = tree.messages;
content = source.includes('include') ? posthtmlInclude(subtree) : subtree;

if (tree.messages) {
Expand Down

0 comments on commit c03608c

Please sign in to comment.