diff --git a/commands/analyze/read-qr-code.js b/commands/analyze/read-qr-code.js index ef22f49b..af16db8d 100644 --- a/commands/analyze/read-qr-code.js +++ b/commands/analyze/read-qr-code.js @@ -43,7 +43,7 @@ module.exports = class ReadQRCodeCommand extends Command { if (err) return rej(err); return res(value); } - qr.decode(imgData); + return qr.decode(imgData); }); } };