diff --git a/compareImages.js b/compareImages.js index 42e5772..89d2e98 100644 --- a/compareImages.js +++ b/compareImages.js @@ -1,6 +1,6 @@ const resemble = require('./resemble'); -module.exports = async function(image1, image2) { +module.exports = function(image1, image2) { return new Promise(function(resolve, reject) { resemble(image1).compareTo(image2).onComplete(function(data) { if (data.error) {