mirror of
https://github.com/gchq/CyberChef
synced 2025-01-04 00:38:41 +00:00
fix linting again
This commit is contained in:
parent
78d35ecec3
commit
d77f8ba747
1 changed files with 1 additions and 1 deletions
|
@ -114,7 +114,7 @@ class FromBase85 extends Operation {
|
||||||
.map((chr, idx) => {
|
.map((chr, idx) => {
|
||||||
const digit = alphabet.indexOf(chr);
|
const digit = alphabet.indexOf(chr);
|
||||||
if ((digit < 0 || digit > 84) && chr !== "z") {
|
if ((digit < 0 || digit > 84) && chr !== "z") {
|
||||||
throw `Invalid character '${chr}' at index ${i + idx}`;
|
throw `Invalid character '${chr}' at index ${i + idx}`;
|
||||||
}
|
}
|
||||||
return digit;
|
return digit;
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue