Minor fix, though this could hurt later
This commit is contained in:
parent
2e5f285a9e
commit
b14f1244c2
|
@ -2,7 +2,7 @@
|
|||
// "3 4 5 3 2 1 " -> "[3,4,5,3,2,1]""
|
||||
let formatMessyArray = str => {
|
||||
let split = Js.String.splitByRe([%re "/\\n|\\r|\\s/"], str);
|
||||
if (E.A.length(split) > 6) {
|
||||
if (E.A.length(split) > 20) {
|
||||
let inner = split |> Js.Array.joinWith(",");
|
||||
{j|[$inner]|j};
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue
Block a user