mirror of
https://github.com/gchq/CyberChef
synced 2025-12-14 15:23:20 +00:00
add dish translation tests for node
This commit is contained in:
@@ -208,7 +208,7 @@ class Dish {
|
||||
valid() {
|
||||
switch (this.type) {
|
||||
case Dish.BYTE_ARRAY:
|
||||
if (!(this.value instanceof Array)) {
|
||||
if (!(this.value instanceof Uint8Array) && !(this.value instanceof Array)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user