Skip to content
This repository has been archived by the owner on Sep 7, 2020. It is now read-only.

Commit

Permalink
Added missing callback for non-png results
Browse files Browse the repository at this point in the history
  • Loading branch information
Hufschmidt committed Sep 21, 2017
1 parent 6688057 commit 8c6c003
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ exports.typeset = function(data, callback) {
data.svg = svg;
if (result.error) callback(result);
if (data.png) convert(result, data, callback);
else callback(result);
});
};

Expand Down

0 comments on commit 8c6c003

Please sign in to comment.