From cd2b6fd2fb27b4d416843d69c409bb505286121d Mon Sep 17 00:00:00 2001 From: Nikolay Kostyurin Date: Fri, 29 Mar 2019 10:33:26 +0200 Subject: [PATCH] feat(core): add tree.messages array and tree.options a way to communicate between plugins --- packages/bbob-core/src/index.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/bbob-core/src/index.js b/packages/bbob-core/src/index.js index dae42ec..e2bd5bd 100644 --- a/packages/bbob-core/src/index.js +++ b/packages/bbob-core/src/index.js @@ -30,6 +30,8 @@ export default function bbob(plugs) { // raw tree before modification with plugins const raw = tree; + tree.messages = []; + tree.options = options; tree.walk = walk; tree.match = match;