Skip to content

Commit

Permalink
fix: identification pwd
Browse files Browse the repository at this point in the history
  • Loading branch information
Scrum committed Jan 19, 2018
1 parent 869cac1 commit b77f79a
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 @@ -31,7 +31,7 @@ export default (...options) => {
const processor = postProcessor(ctx, res);
const config = postSequence(postConfig(...options)[processor.name].plugins, {processor: processor.name, namespace: true});
const plugins = Object.keys(config)
.map(plugin => loadPlugin(plugin, warning, pwd || process.pwd())(config[plugin]))
.map(plugin => loadPlugin(plugin, warning, pwd || process.cwd())(config[plugin]))
.filter(plugin => plugin !== undefined);

if (warning.length > 0) {
Expand Down

0 comments on commit b77f79a

Please sign in to comment.