diff --git a/src/plugins.js b/src/plugins.js index 689ea1e026..f35cc2e2a9 100644 --- a/src/plugins.js +++ b/src/plugins.js @@ -73,7 +73,7 @@ var fs = require('fs'), }, function(plugins, next) { if (!plugins || !Array.isArray(plugins)) { - next(); + return next(); } plugins.push(meta.config['theme:id']);