diff --git a/src/core/operations/FromBase85.mjs b/src/core/operations/FromBase85.mjs index 0ffae967..3904479d 100644 --- a/src/core/operations/FromBase85.mjs +++ b/src/core/operations/FromBase85.mjs @@ -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}`; } }