CodeQL fixes

This commit is contained in:
n1474335 2022-04-14 16:57:46 +01:00
parent f77633cee9
commit f5fe79326a
2 changed files with 3 additions and 3 deletions

View file

@ -43,9 +43,9 @@ class ToBase45 extends Operation {
* @returns {string}
*/
run(input, args) {
if (!input) return "";
input = new Uint8Array(input);
const alphabet = Utils.expandAlphRange(args[0]);
if (!input) return "";
const res = [];