summaryrefslogtreecommitdiffstats
path: root/lib/utils/images.js
diff options
context:
space:
mode:
Diffstat (limited to 'lib/utils/images.js')
-rw-r--r--lib/utils/images.js1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/utils/images.js b/lib/utils/images.js
index 1dd8df9..e387d6b 100644
--- a/lib/utils/images.js
+++ b/lib/utils/images.js
@@ -5,7 +5,6 @@ var error = require('./error');
// Convert a svg file to a pmg
function convertSVGToPNG(source, dest, options) {
- if (!command.isAvailable) return Promise.reject(new Error('Could not convert SVG in this platform'));
if (!fs.existsSync(source)) return Promise.reject(new error.FileNotFoundError({ filename: source }));
return command.spawn('svgexport', [source, dest])