Skip to content

Commit

Permalink
refactor(rstream-query): remove obsolete reset in addJoin()
Browse files Browse the repository at this point in the history
  • Loading branch information
postspectacular committed Aug 3, 2018
1 parent f946631 commit 361f8b4
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/rstream-query/src/store.ts
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,6 @@ export class TripleStore implements
id,
src: { a, b },
xform: comp(map(({ a, b }) => join(a, b)), dedupe(equiv)),
reset: false,
});
}

Expand All @@ -314,7 +313,7 @@ export class TripleStore implements
);
let xforms: Transducer<any, any>[] = [joinSolutions(Object.keys(src).length), dedupe(equiv)];
keepVars && (xforms.push(filterSolutions(keepVars)));
return sync({ id, src, xform: <Transducer<any, any>>comp.apply(null, xforms), reset: false });
return sync({ id, src, xform: <Transducer<any, any>>comp.apply(null, xforms) });
}

/**
Expand Down

0 comments on commit 361f8b4

Please sign in to comment.