From 2af41863ca50fe9fb3bc2d15452ca264fbbe3657 Mon Sep 17 00:00:00 2001 From: Ivan Demidov Date: Thu, 8 Feb 2018 14:59:24 +0300 Subject: [PATCH] fix: typo --- src/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.js b/src/index.js index 3cfd652..cbcfc9f 100644 --- a/src/index.js +++ b/src/index.js @@ -45,7 +45,7 @@ export default (...options) => { } if (!processor.plugins) { - plugins.forEach(plugin => tree = plugin(ctx)) + plugins.forEach(plugin => ctx = plugin(ctx)) } return typeof res === 'function' ? res(null, ctx) : ctx;