mirror of
https://github.com/gchq/CyberChef
synced 2025-12-19 17:53:34 +00:00
Fix linting
This commit is contained in:
@@ -90,6 +90,7 @@ class ResizeImage extends Operation {
|
||||
if (!type || type.mime.indexOf("image") !== 0){
|
||||
throw new OperationError("Invalid file type.");
|
||||
}
|
||||
|
||||
const image = await jimp.read(Buffer.from(input));
|
||||
|
||||
if (unit === "Percent") {
|
||||
|
||||
Reference in New Issue
Block a user