mirror of
https://github.com/gchq/CyberChef.git
synced 2025-06-16 19:25:19 -04:00
Added eslint space-before-blocks rule
This commit is contained in:
parent
44b90be7d6
commit
094d352e5f
17 changed files with 23 additions and 22 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue