mirror of
https://github.com/1bardesign/batteries.git
synced 2024-11-22 14:14:36 +00:00
fix spacing
This commit is contained in:
parent
23bc392b6e
commit
b01ba8e506
@ -20,8 +20,8 @@ function stringx.split(self, delim, max_split)
|
||||
assert:type(max_split, "number", "stringx.split - max_split", 1)
|
||||
|
||||
if max_split then
|
||||
assert(max_split > 0, "max_split must be positive!")
|
||||
end
|
||||
assert(max_split > 0, "max_split must be positive!")
|
||||
end
|
||||
|
||||
--we try to create as little garbage as possible!
|
||||
--only one table to contain the result, plus the split strings.
|
||||
|
Loading…
Reference in New Issue
Block a user