Skip to content

Commit

Permalink
Remove log in ditto
Browse files Browse the repository at this point in the history
  • Loading branch information
Paul Varache committed Sep 3, 2018
1 parent cad69ad commit 7a46e6c
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions lib/archivers/ditto.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,8 @@ function createZipWithDitto(basedir, file, target) {
let cmd = 'ditto',
args = ['-ck', '--rsrc', '--sequesterRsrc', file, target],
p;
console.log(`[ZIP] ${cmd} ${args.join(' ')}`);
p = cp.spawn(cmd, args, { cwd: basedir });
p.on('error', (e) => reject(e));
p.stdout.on('data', (d) => {
console.log(`[ZIP] ${d.toString()}`);
});
p.on('exit', (code) => {
if (code != 0) {
throw new Error(`ditto exited with a non-zero code: ${code}`);
Expand Down

0 comments on commit 7a46e6c

Please sign in to comment.