2
0
mirror of https://github.com/gchq/CyberChef synced 2026-01-06 02:23:20 +00:00

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 = [];