mirror of https://github.com/embarklabs/embark.git
fix directory copying
This commit is contained in:
parent
603b4ee0fc
commit
9cd8449014
|
@ -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 |
Loading…
Reference in New Issue