Skip to content

Commit

Permalink
fix: PR integration
Browse files Browse the repository at this point in the history
  • Loading branch information
tokebe committed Nov 29, 2023
1 parent f0236d0 commit 05edfd6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/edge_manager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ export default class QueryEdgeManager {
//if both ends match then keep record

// Don't keep self-edges
const selfEdge = [...subjectIDs].some((curie) => objectIDs.has(curie));
const selfEdge = [...subjectIDs].some((curie) => objectIDs.includes(curie));
if (subjectMatch && objectMatch && !selfEdge) {
keep.push(record);
}
Expand Down

0 comments on commit 05edfd6

Please sign in to comment.