From 05cf81155930c936ecad2dd54ae5da414828bca7 Mon Sep 17 00:00:00 2001 From: Nadav Ivgi <nadav@shesek.info> Date: Thu, 17 Jul 2014 16:54:52 +0300 Subject: [PATCH] Remove debugging --- imagemagick.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/imagemagick.js b/imagemagick.js index b846c0c..01e82ef 100644 --- a/imagemagick.js +++ b/imagemagick.js @@ -297,7 +297,6 @@ exports.crop = function (options, callback) { args = []; t.args.forEach(function (arg) { if (printNext === true){ - console.log("arg", arg); printNext = false; } // ignoreArg is set when resize flag was found @@ -305,12 +304,10 @@ exports.crop = function (options, callback) { args.push(arg); // found resize flag! ignore the next argument if (arg == '-resize'){ - console.log("resize arg"); ignoreArg = true; printNext = true; } if (arg === "-crop"){ - console.log("crop arg"); printNext = true; } // found the argument after the resize flag; ignore it and set crop options