Fix format_stringarray()
This commit is contained in:
parent
b78ae9dd30
commit
61da7fb367
1 changed files with 1 additions and 1 deletions
|
@ -89,7 +89,7 @@ func format_stringarray(array: Array[String], item_before: String = "", item_aft
|
||||||
return ""
|
return ""
|
||||||
elif array.size() == 1:
|
elif array.size() == 1:
|
||||||
logger.warn("Unable to format a string with a size of 1")
|
logger.warn("Unable to format a string with a size of 1")
|
||||||
return array[0]
|
return item_before + array[0] + item_after
|
||||||
|
|
||||||
for item in array:
|
for item in array:
|
||||||
if output == "": output = item_before + item + item_after
|
if output == "": output = item_before + item + item_after
|
||||||
|
|
Loading…
Reference in a new issue