2
0
mirror of https://github.com/gchq/CyberChef synced 2025-12-05 23:53:27 +00:00

Added eslint space-before-blocks rule

This commit is contained in:
n1474335
2019-08-27 18:13:33 +01:00
parent 44b90be7d6
commit 094d352e5f
17 changed files with 23 additions and 22 deletions

View File

@@ -62,7 +62,7 @@ class SharpenImage extends Operation {
async run(input, args) {
const [radius, amount, threshold] = args;
if (!isImage(new Uint8Array(input))){
if (!isImage(new Uint8Array(input))) {
throw new OperationError("Invalid file type.");
}