mirror of
https://github.com/gchq/CyberChef
synced 2025-12-05 23:53:27 +00:00
Tidy up
This commit is contained in:
@@ -22,8 +22,9 @@ class DishListFile extends DishType {
|
|||||||
|
|
||||||
if (isNodeEnvironment()) {
|
if (isNodeEnvironment()) {
|
||||||
this.value = this.value.map(file => Uint8Array.from(file.data));
|
this.value = this.value.map(file => Uint8Array.from(file.data));
|
||||||
|
} else {
|
||||||
|
this.value = await DishListFile.concatenateTypedArraysWithTypedElements(...this.value);
|
||||||
}
|
}
|
||||||
this.value = (this.type === Dish.LIST_FILE ? await DishListFile.concatenateTypedArraysWithTypedElements(...this.value) : await DishListFile.concatenateTypedArrays(...this.value)).buffer;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user