Fix error reporting.

This commit is contained in:
Michael Bayne 2017-10-27 12:21:13 -07:00
parent b1076fa373
commit a03e252866
1 changed files with 1 additions and 1 deletions

View File

@ -63,7 +63,7 @@ function convert(srcFile, destFile, opts = []) {
// non-zero exit code is failure // non-zero exit code is failure
if (code != 0) { if (code != 0) {
reject(new Error(`Script ${script} output:\n` + reject(new Error(`Converter output:\n` +
(output.length ? output : "<none>"))); (output.length ? output : "<none>")));
} else { } else {
resolve(destPath + destExt); resolve(destPath + destExt);