mirror of
https://github.com/embarklabs/embark.git
synced 2025-02-26 20:30:43 +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(
|
async.map(
|
||||||
files,
|
files,
|
||||||
async function (file, fileCb) {
|
function (file, fileCb) {
|
||||||
self.logger.trace("reading " + file.path);
|
self.logger.trace("reading " + file.path);
|
||||||
const fileContent = await file.content;
|
file.content.then((fileContent) => {
|
||||||
self.runPlugins(file, fileContent, fileCb);
|
self.runPlugins(file, fileContent, fileCb);
|
||||||
|
});
|
||||||
},
|
},
|
||||||
function (err, contentFiles) {
|
function (err, contentFiles) {
|
||||||
if (err) {
|
if (err) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user