Skip to content

Commit

Permalink
moveElemsAttrsToGroup.js: fix missing return value in Array.every() (
Browse files Browse the repository at this point in the history
  • Loading branch information
XhmikosR authored Aug 14, 2021
1 parent 11b2801 commit 7b6e730
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions plugins/moveElemsAttrsToGroup.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,8 @@ exports.fn = function (item) {

return true;
}

return false;
}),
allPath = item.children.every(function (inner) {
return inner.isElem(pathElems);
Expand Down

0 comments on commit 7b6e730

Please sign in to comment.