mirror of
https://github.com/gchq/CyberChef.git
synced 2025-04-22 07:46:16 -04:00
Fixed toBinary delim adjustment
This commit is contained in:
parent
36e66ad5b4
commit
c330394ff2
1 changed files with 0 additions and 4 deletions
|
@ -45,10 +45,6 @@ export function toBinary(data, delim="Space", padding=8) {
|
|||
} else {
|
||||
return "";
|
||||
}
|
||||
if (delim.length) {
|
||||
// Remove the delimiter from the end of the string.
|
||||
output = output.slice(0, -delim.length);
|
||||
}
|
||||
return output;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue