fix(core): update

This commit is contained in:
2022-08-07 11:19:43 +02:00
parent 875c06f86c
commit fcd50a780a
10 changed files with 55 additions and 61 deletions

View File

@ -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.'
}

View File

@ -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;
});
};