mirror of
https://github.com/CommunityOx/ox_lib.git
synced 2026-11-16 09:43:56 +00:00
fix(array): format error message
This commit is contained in:
1 parent
d56c785a37
commit
6a24f9b971
1 file changed
+1
-1
@@ -52,7 +52,7 @@ function lib.array:from(iter)
|
||||
return arr
|
||||
end
|
||||
|
||||
error('Array.from argument was not a valid iterable value (received %s)')
|
||||
error(('Array.from argument was not a valid iterable value (received %s)'):format(iterType))
|
||||
end
|
||||
|
||||
---Returns the element at the given index, with negative numbers counting backwards from the end of the array.
|
||||
|
||||
Reference in new issue
Block a user