Commit 4c3aea62 authored by Rémi Bèges's avatar Rémi Bèges

Fix packer not archiving file contents properly

parent 29eb9e76
Pipeline #14833311 passed with stage
in 40 seconds
......@@ -30,6 +30,6 @@ var files = [
];
for(var i = 0 ; i < files.length ; i++) {
archive.append(files[i], {name: path.basename(files[i])});
archive.append(fs.createReadStream(files[i]), {name: path.basename(files[i])});
}
archive.finalize();
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment