Skip to content
This repository was archived by the owner on Apr 29, 2025. It is now read-only.

Commit 6a24f9b

Browse files
committed
fix(array): format error message
1 parent d56c785 commit 6a24f9b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

imports/array/shared.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ function lib.array:from(iter)
5252
return arr
5353
end
5454

55-
error('Array.from argument was not a valid iterable value (received %s)')
55+
error(('Array.from argument was not a valid iterable value (received %s)'):format(iterType))
5656
end
5757

5858
---Returns the element at the given index, with negative numbers counting backwards from the end of the array.

0 commit comments

Comments
 (0)