From 6a24f9b971b65c463b22cbc73378fda2c6b617a2 Mon Sep 17 00:00:00 2001 From: Linden <65407488+thelindat@users.noreply.github.com> Date: Wed, 29 Jan 2025 07:13:16 +1100 Subject: [PATCH] fix(array): format error message --- imports/array/shared.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/imports/array/shared.lua b/imports/array/shared.lua index 70d0284..343e9da 100644 --- a/imports/array/shared.lua +++ b/imports/array/shared.lua @@ -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.