mirror of
https://github.com/embarklabs/embark.git
synced 2025-02-26 12:25:49 +00:00
fix: using async with async npm
This commit is contained in:
parent
4023392ea9
commit
0ddebc7a80
@ -287,10 +287,11 @@ class Pipeline {
|
||||
}
|
||||
async.map(
|
||||
files,
|
||||
async function (file, fileCb) {
|
||||
function (file, fileCb) {
|
||||
self.logger.trace("reading " + file.path);
|
||||
const fileContent = await file.content;
|
||||
self.runPlugins(file, fileContent, fileCb);
|
||||
file.content.then((fileContent) => {
|
||||
self.runPlugins(file, fileContent, fileCb);
|
||||
});
|
||||
},
|
||||
function (err, contentFiles) {
|
||||
if (err) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user