mirror of https://github.com/embarklabs/embark.git
lint
This commit is contained in:
parent
1fe6f4ee2c
commit
af38383e0f
|
@ -215,7 +215,13 @@ class Pipeline {
|
|||
runPlugins(file, fileContent, fileCb) {
|
||||
const self = this;
|
||||
if (self.pipelinePlugins.length <= 0) {
|
||||
return fileCb(null, {content: fileContent, filename: file.filename, path: file.path, basedir: file.basedir, modified: true});
|
||||
return fileCb(null, {
|
||||
content: fileContent,
|
||||
filename: file.filename,
|
||||
path: file.path,
|
||||
basedir: file.basedir,
|
||||
modified: true
|
||||
});
|
||||
}
|
||||
async.eachSeries(self.pipelinePlugins,
|
||||
function (plugin, pluginCB) {
|
||||
|
@ -231,7 +237,13 @@ class Pipeline {
|
|||
if (err) {
|
||||
self.log(err.message);
|
||||
}
|
||||
return fileCb(null, {content: fileContent, filename: file.filename, path: file.path, basedir: file.basedir, modified: true});
|
||||
return fileCb(null, {
|
||||
content: fileContent,
|
||||
filename: file.filename,
|
||||
path: file.path,
|
||||
basedir: file.basedir,
|
||||
modified: true
|
||||
});
|
||||
}
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue