chore: simplify

This commit is contained in:
cha0s 2019-09-08 17:22:31 -05:00
parent 6d6a22d527
commit 788fa6446a

View File

@ -1,6 +1,6 @@
export const conditional = (condition, actions, context) => {
if (condition.get(context)) {
return this.serial(actions, context);
return actions.serial(context);
}
};