Fix linting

This commit is contained in:
j433866 2019-03-05 11:49:25 +00:00
parent 514eef50de
commit 370ae323f6

View file

@ -90,6 +90,7 @@ class ResizeImage extends Operation {
if (!type || type.mime.indexOf("image") !== 0){ if (!type || type.mime.indexOf("image") !== 0){
throw new OperationError("Invalid file type."); throw new OperationError("Invalid file type.");
} }
const image = await jimp.read(Buffer.from(input)); const image = await jimp.read(Buffer.from(input));
if (unit === "Percent") { if (unit === "Percent") {