From 7a46e6ce256ba0ad7e83b579f06bec290e7c0bce Mon Sep 17 00:00:00 2001 From: Paul Varache Date: Mon, 3 Sep 2018 12:00:30 +0100 Subject: [PATCH] Remove log in ditto --- lib/archivers/ditto.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/lib/archivers/ditto.js b/lib/archivers/ditto.js index e5a5bb2..a880b36 100644 --- a/lib/archivers/ditto.js +++ b/lib/archivers/ditto.js @@ -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}`);