From a1c3b44512c472797969d143a44da1d09621f998 Mon Sep 17 00:00:00 2001 From: Rafael Vega Date: Tue, 6 Oct 2015 10:01:34 -0500 Subject: [PATCH] Got rid of annoying console.log output. --- imagemagick.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/imagemagick.js b/imagemagick.js index b846c0c..ee61e61 100644 --- a/imagemagick.js +++ b/imagemagick.js @@ -297,7 +297,7 @@ exports.crop = function (options, callback) { args = []; t.args.forEach(function (arg) { if (printNext === true){ - console.log("arg", arg); + //console.log("arg", arg); printNext = false; } // ignoreArg is set when resize flag was found @@ -305,12 +305,12 @@ exports.crop = function (options, callback) { args.push(arg); // found resize flag! ignore the next argument if (arg == '-resize'){ - console.log("resize arg"); + //console.log("resize arg"); ignoreArg = true; printNext = true; } if (arg === "-crop"){ - console.log("crop arg"); + //console.log("crop arg"); printNext = true; } // found the argument after the resize flag; ignore it and set crop options