mirror of
https://github.com/gchq/CyberChef
synced 2025-12-15 07:43:22 +00:00
Added eslint space-before-blocks rule
This commit is contained in:
@@ -47,7 +47,7 @@ class GenerateLoremIpsum extends Operation {
|
||||
*/
|
||||
run(input, args) {
|
||||
const [length, lengthType] = args;
|
||||
if (length < 1){
|
||||
if (length < 1) {
|
||||
throw new OperationError("Length must be greater than 0");
|
||||
}
|
||||
switch (lengthType) {
|
||||
|
||||
Reference in New Issue
Block a user