From a03e252866a9bd873074517d707cb51e61bf79c0 Mon Sep 17 00:00:00 2001 From: Michael Bayne Date: Fri, 27 Oct 2017 12:21:13 -0700 Subject: [PATCH] Fix error reporting. --- npm/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/npm/index.js b/npm/index.js index c570984..3b4030c 100644 --- a/npm/index.js +++ b/npm/index.js @@ -63,7 +63,7 @@ function convert(srcFile, destFile, opts = []) { // non-zero exit code is failure if (code != 0) { - reject(new Error(`Script ${script} output:\n` + + reject(new Error(`Converter output:\n` + (output.length ? output : ""))); } else { resolve(destPath + destExt);