From 28068312070a3946c4212babe3803b2d588d5018 Mon Sep 17 00:00:00 2001 From: Vyacheslav Date: Thu, 17 Mar 2016 09:29:10 +0300 Subject: [PATCH] Update imagemagick.js Sometimes imagemagick crash, this change fix it --- imagemagick.js | 1 + 1 file changed, 1 insertion(+) diff --git a/imagemagick.js b/imagemagick.js index b846c0c..fbaf99e 100644 --- a/imagemagick.js +++ b/imagemagick.js @@ -110,6 +110,7 @@ function parseIdentify(input) { for (i in lines) { currentLine = lines[i]; + if(typeof currentLine != 'string') continue; indent = currentLine.search(/\S/); if (indent >= 0) { comps = currentLine.split(': ');