diff options
author | Samy Pessé <samypesse@gmail.com> | 2016-02-25 15:12:04 +0100 |
---|---|---|
committer | Samy Pessé <samypesse@gmail.com> | 2016-02-25 15:12:04 +0100 |
commit | 9253b764fad8452fb1cf0760be482b692fdfb728 (patch) | |
tree | 6d41da58e39bd2e4bfd02449dc164778fe932467 /lib/utils | |
parent | 393aed62706745e2abde300844143b5d2a0c9041 (diff) | |
download | gitbook-9253b764fad8452fb1cf0760be482b692fdfb728.zip gitbook-9253b764fad8452fb1cf0760be482b692fdfb728.tar.gz gitbook-9253b764fad8452fb1cf0760be482b692fdfb728.tar.bz2 |
Don't pass cover to ebook-convert if non existant
Diffstat (limited to 'lib/utils')
-rw-r--r-- | lib/utils/command.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/utils/command.js b/lib/utils/command.js index c1689cb..d2beba0 100644 --- a/lib/utils/command.js +++ b/lib/utils/command.js @@ -15,7 +15,7 @@ function exec(command, options) { var child = childProcess.exec(command, options, function(err, stdout, stderr) { if (!err) { - d.resolve(); + return d.resolve(); } err.message = stdout.toString('utf8') + stderr.toString('utf8'); |