Skip to content

Node.js based forum software built for the modern web

fixes #5921

Julian Lamf7d78771f8c3
diff --git a/src/plugins/data.js b/src/plugins/data.js
index ed81eed678..164fa8eb1c 100644
--- a/src/plugins/data.js
+++ b/src/plugins/data.js
@@ -196,7 +196,8 @@ function getScripts(pluginData, target, callback) {
}
var scripts = [];
- async.each(input, function (filePath, next) {
+ async.eachSeries(input, function (filePath, next) {
+ console.log(filePath);
resolveModulePath(pluginData.path, filePath, function (err, modulePath) {
if (err) {
return next(err);