mirror of https://github.com/embarklabs/embark.git
fix(@embark/basic-pipeline): Remove `_1_` from pipeline output (#1941)
This commit is contained in:
parent
915b9493ef
commit
5dbc1c791a
|
@ -143,7 +143,7 @@ class BasicPipeline {
|
||||||
const isDir = targetFile.slice(-1) === '/' || targetFile.slice(-1) === '\\' || targetFile.indexOf('.') === -1;
|
const isDir = targetFile.slice(-1) === '/' || targetFile.slice(-1) === '\\' || targetFile.indexOf('.') === -1;
|
||||||
// if it's not a directory
|
// if it's not a directory
|
||||||
if (!isDir) {
|
if (!isDir) {
|
||||||
self.logger.info('Pipeline: '.cyan + __("_1_ writing file") + " " + (joinPath(self.buildDir, targetFile)).bold.dim);
|
self.logger.info('Pipeline: '.cyan + __("-- writing file") + " " + (joinPath(self.buildDir, targetFile)).bold.dim);
|
||||||
}
|
}
|
||||||
// async.map(
|
// async.map(
|
||||||
async.mapLimit(
|
async.mapLimit(
|
||||||
|
@ -174,7 +174,7 @@ class BasicPipeline {
|
||||||
|
|
||||||
async.each(contentFiles, function (file, eachCb) {
|
async.each(contentFiles, function (file, eachCb) {
|
||||||
let filename = file.path.replace(file.basedir + '/', '');
|
let filename = file.path.replace(file.basedir + '/', '');
|
||||||
self.logger.info(`${'Pipeline:'.cyan} __ writing file ` + (joinPath(self.buildDir, targetDir, filename)).bold.dim);
|
self.logger.info(`${'Pipeline:'.cyan} -- writing file ` + (joinPath(self.buildDir, targetDir, filename)).bold.dim);
|
||||||
|
|
||||||
self.fs.copy(file.path, joinPath(self.buildDir, targetDir, filename), {overwrite: true}, eachCb);
|
self.fs.copy(file.path, joinPath(self.buildDir, targetDir, filename), {overwrite: true}, eachCb);
|
||||||
}, cb);
|
}, cb);
|
||||||
|
|
Loading…
Reference in New Issue