Skip to content

Commit

Permalink
Update src/lib/hierarchy-operations/lineage-constraints.js
Browse files Browse the repository at this point in the history
Co-authored-by: Joshua Kuestersteffen <jkuester@kuester7.com>
  • Loading branch information
kennsippell and jkuester authored Dec 11, 2024
1 parent 99745c6 commit 51f76da
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/lib/hierarchy-operations/lineage-constraints.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,6 @@ module.exports = async (db, options) => {
}
},
assertNoHierarchyErrors: (sourceDocs, destinationDoc) => {
if (!Array.isArray(sourceDocs)) {
sourceDocs = [sourceDocs];
}

sourceDocs.forEach(sourceDoc => {
const hierarchyError = options.merge ?
Expand Down

0 comments on commit 51f76da

Please sign in to comment.