diff options
author | Samy Pesse <samypesse@gmail.com> | 2016-02-12 23:57:43 +0100 |
---|---|---|
committer | Samy Pesse <samypesse@gmail.com> | 2016-02-12 23:57:43 +0100 |
commit | 4c6717e23488656686f276aa2b40ce1d1c7641f8 (patch) | |
tree | c728f106224cedc836b83b06609011990eac4f5a /lib/utils/command.js | |
parent | 39b6562d1445e9a6c43a377d2a978eefa6458755 (diff) | |
download | gitbook-4c6717e23488656686f276aa2b40ce1d1c7641f8.zip gitbook-4c6717e23488656686f276aa2b40ce1d1c7641f8.tar.gz gitbook-4c6717e23488656686f276aa2b40ce1d1c7641f8.tar.bz2 |
Add conversion of svg to png for assets inliner
Diffstat (limited to 'lib/utils/command.js')
-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 4269d6c..c3e33c7 100644 --- a/lib/utils/command.js +++ b/lib/utils/command.js @@ -19,7 +19,7 @@ function spawn(command, args, options) { return Promise.reject(new Error('Command execution is not possible on this platform')); } - var d = Promise.deferred(); + var d = Promise.defer(); var child = childProcess.spawn(command, args, options); child.on('error', function(error) { |