From ead5a09747ca088a31cd41a4d9be66349853982b Mon Sep 17 00:00:00 2001 From: WahPlus Date: Thu, 30 Oct 2025 14:13:18 +0200 Subject: [PATCH] Comment on require() function in halyde/kernel/boot.lua This is a pretty old bug by now. --- halyde/kernel/boot.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/halyde/kernel/boot.lua b/halyde/kernel/boot.lua index fb0b8dc..4903bf1 100644 --- a/halyde/kernel/boot.lua +++ b/halyde/kernel/boot.lua @@ -37,7 +37,7 @@ function _G.reqgen(load) then modulepath = shell.workingDirectory .. module .. ".lua" end - assert(modulepath, "Module not found\nPossible locations:\n/lib/" .. module .. ".lua") + assert(modulepath, "Module not found\nPossible locations:\n/lib/" .. module .. ".lua") -- FIXME: When providing an absolute path, this spits out some weird stuff. local handle, data, tmpdata = filesystem.open(modulepath), "", nil repeat tmpdata = handle:read(math.huge or math.maxinteger)