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);