Merge pull request #26 from facebookincubator/error-fix

Fix error reporting.
This commit is contained in:
Pär Winzell 2017-10-27 12:28:15 -07:00 committed by GitHub
commit 6137694595
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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
if (code != 0) {
reject(new Error(`Script ${script} output:\n` +
reject(new Error(`Converter output:\n` +
(output.length ? output : "<none>")));
} else {
resolve(destPath + destExt);