Skip to content

Commit

Permalink
rollback remove duplicate attr (feature used to not duplicate content…
Browse files Browse the repository at this point in the history
… if attr is set to true)
  • Loading branch information
nicolaslabbe committed Sep 14, 2016
1 parent cb3c9dd commit 841d9ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dist/cli/helpers/abe-create.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ var create = function create(template, path, name, req) {
var tpl = templatePath;
var text = (0, _cli.getTemplate)(tpl);
if (duplicate) {
json = removeDuplicateAttr(text, json);
json = (0, _cli.removeDuplicateAttr)(text, json);
}
text = _cli.Util.removeDataList(text);
var resHook = _cli.Hooks.instance.trigger('beforeFirstSave', filePath, req.query, json, text);
Expand Down

0 comments on commit 841d9ae

Please sign in to comment.