summaryrefslogtreecommitdiffstats
path: root/lib/utils/images.js
diff options
context:
space:
mode:
authorSamy Pessé <samypesse@gmail.com>2015-03-10 16:45:22 -0700
committerSamy Pessé <samypesse@gmail.com>2015-03-10 16:45:22 -0700
commit19e4f498cf458ad999b765879cc129e4d2f6febb (patch)
treec9511b9144d7abc49b50374281ba69f72ba1c1c0 /lib/utils/images.js
parent3055139297a07b3185382e694b256fdb61618d91 (diff)
downloadgitbook-19e4f498cf458ad999b765879cc129e4d2f6febb.zip
gitbook-19e4f498cf458ad999b765879cc129e4d2f6febb.tar.gz
gitbook-19e4f498cf458ad999b765879cc129e4d2f6febb.tar.bz2
Fix inline svg extraction on windows
Diffstat (limited to 'lib/utils/images.js')
-rw-r--r--lib/utils/images.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/utils/images.js b/lib/utils/images.js
index 59e8885..1fb6948 100644
--- a/lib/utils/images.js
+++ b/lib/utils/images.js
@@ -27,7 +27,7 @@ var convertSVG = function(source, dest, options) {
if (code == 0 && fs.existsSync(dest)) {
d.resolve();
} else {
- d.reject(new Error("Error converting "+source));
+ d.reject(new Error("Error converting "+source+" into "+dest));
}
});