Skip to content

Commit

Permalink
fix: typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Scrum committed Feb 8, 2018
1 parent 50425b8 commit 2af4186
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 2af4186

Please sign in to comment.