Fixing JS generation ordering.
This commit is contained in:
parent
c857bacafa
commit
b611b0da33
|
@ -58,7 +58,7 @@ function buildList(parts: string[], value: any) {
|
||||||
if (!value) {
|
if (!value) {
|
||||||
return parts.length > 1 ? `${build()}` : build()
|
return parts.length > 1 ? `${build()}` : build()
|
||||||
} else {
|
} else {
|
||||||
return parts.length === 0 ? value : `${value}, ${build()}`
|
return parts.length === 0 ? value : `${build()}, ${value}`
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue