fix directory copying

This commit is contained in:
Iuri Matias 2018-02-22 11:45:22 -05:00
parent 603b4ee0fc
commit 9cd8449014
3 changed files with 1 additions and 1 deletions

View File

@ -128,7 +128,7 @@ class Pipeline {
filename = filename.replace(targetDir, '');
self.logger.info("writing file " + (self.buildDir + targetDir + filename).bold.dim);
fs.copySync(self.buildDir + targetDir + filename, file.path, {overwrite: true});
fs.copySync(file.path, self.buildDir + targetDir + filename, {overwrite: true});
});
} else {
let content = contentFiles.map(function (file) {

Binary file not shown.

After

Width:  |  Height:  |  Size: 1011 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB