mirror of
https://github.com/gchq/CyberChef.git
synced 2024-11-02 06:01:02 +01:00
Fixed toBinary delim adjustment
This commit is contained in:
parent
36e66ad5b4
commit
c330394ff2
@ -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…
Reference in New Issue
Block a user