Skip to content

Commit

Permalink
fix import inside import
Browse files Browse the repository at this point in the history
  • Loading branch information
wonknu committed Sep 30, 2016
1 parent 4312f4b commit b4034b2
Show file tree
Hide file tree
Showing 4 changed files with 262 additions and 262 deletions.
2 changes: 1 addition & 1 deletion dist/cli/helpers/abe-template.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ function includePartials(text) {
var partial = '';
file = _path2.default.join(_cli.config.root, _cli.config.partials, file);
if (_cli.fileUtils.isFile(file)) {
partial = _fsExtra2.default.readFileSync(file, 'utf8');
partial = includePartials(_fsExtra2.default.readFileSync(file, 'utf8'));
}
text = text.replace((0, _cli.escapeTextToRegex)(abeImport, 'g'), partial);
});
Expand Down
Loading

0 comments on commit b4034b2

Please sign in to comment.