mirror of
https://github.com/gchq/CyberChef
synced 2025-12-11 05:43:28 +00:00
Fixed toBinary delim adjustment
This commit is contained in:
@@ -45,10 +45,6 @@ export function toBinary(data, delim="Space", padding=8) {
|
|||||||
} else {
|
} else {
|
||||||
return "";
|
return "";
|
||||||
}
|
}
|
||||||
if (delim.length) {
|
|
||||||
// Remove the delimiter from the end of the string.
|
|
||||||
output = output.slice(0, -delim.length);
|
|
||||||
}
|
|
||||||
return output;
|
return output;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user