mirror of
https://github.com/status-im/embark-area-51.git
synced 2025-01-11 14:34:40 +00:00
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) {
|
||||
|
BIN
test_app/app/images/image1.png
Normal file
BIN
test_app/app/images/image1.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1011 B |
BIN
test_app/app/images/secondfolder/image2.jpg
Normal file
BIN
test_app/app/images/secondfolder/image2.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.0 KiB |
Loading…
x
Reference in New Issue
Block a user