Fixed toBinary delim adjustment
This commit is contained in:
1 parent
36e66ad5b4
commit
c330394ff2
1 file changed
-4
@@ -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