mirror of https://github.com/gchq/CyberChef.git
Linting Modifications
This commit is contained in:
parent
2e0aa7ae87
commit
7989f119d3
|
@ -46,7 +46,7 @@ class RailFenceCipherDecode extends Operation {
|
||||||
run(input, args) {
|
run(input, args) {
|
||||||
const [key, offset] = args;
|
const [key, offset] = args;
|
||||||
|
|
||||||
let cipher = input;
|
const cipher = input;
|
||||||
|
|
||||||
if (key < 2) {
|
if (key < 2) {
|
||||||
throw new OperationError("Key has to be bigger than 2");
|
throw new OperationError("Key has to be bigger than 2");
|
||||||
|
|
Loading…
Reference in New Issue