fix(core): update
This commit is contained in:
@ -3,6 +3,6 @@
|
||||
*/
|
||||
export const commitinfo = {
|
||||
name: '@pushrocks/smartrule',
|
||||
version: '2.0.0',
|
||||
version: '2.0.1',
|
||||
description: 'a smart rule library for handling decision trees.'
|
||||
}
|
||||
|
@ -20,7 +20,7 @@ export class SmartRule<T> {
|
||||
|
||||
// gets the next batch with the same priority
|
||||
const getNextParallelBatch = (priorityStart: number) => {
|
||||
return this.rules.filter(rule => {
|
||||
return this.rules.filter((rule) => {
|
||||
return rule.priority === priorityStart;
|
||||
});
|
||||
};
|
||||
|
Reference in New Issue
Block a user