Skip to content

Commit

Permalink
fix duplciate variable name
Browse files Browse the repository at this point in the history
  • Loading branch information
rjawesome committed Aug 16, 2024
1 parent 9780223 commit 7d5d1db
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/edge_manager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -215,8 +215,8 @@ export default class QueryEdgeManager {
});
return set;
}, new Set<string>())];
objectIDs = [...objectIDs, ...objectIDs.reduce((set, objectIDs) => {
Object.entries(this._subclassEdges[objectIDs] ?? {}).forEach(([id, qNodes]) => {
objectIDs = [...objectIDs, ...objectIDs.reduce((set, objectID) => {
Object.entries(this._subclassEdges[objectID] ?? {}).forEach(([id, qNodes]) => {
if (qNodes.includes(qEdge.reverse ? qEdge.subject.id : qEdge.object.id)) set.add(id);
});
return set;
Expand Down

0 comments on commit 7d5d1db

Please sign in to comment.