mirror of
https://github.com/gchq/CyberChef
synced 2025-01-01 07:18:47 +00:00
fixed linting
This commit is contained in:
parent
66cbc6908a
commit
c79bf5caaf
1 changed files with 2 additions and 2 deletions
|
@ -114,9 +114,9 @@ class FromBase85 extends Operation {
|
|||
.map((chr, idx) => {
|
||||
const digit = alphabet.indexOf(chr);
|
||||
if (digit < 0 || digit > 84) {
|
||||
if (chr === "z"){
|
||||
if (chr === "z") {
|
||||
// Pass (Ignore character)
|
||||
}else{
|
||||
} else {
|
||||
throw `Invalid character '${chr}' at index ${i + idx}`;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue