fix(modules): sandbox script lua script path discovery

This commit is contained in:
Erica Marigold 2024-08-04 16:51:46 +05:30 committed by GitHub
parent d706e83920
commit c0d7ce2fb0
Signed by: DevComp
GPG key ID: B5690EEEBB952194

View file

@ -42,7 +42,7 @@ local function discoverAndReadScript(filePath: string): string
end
if fs.isFile(filePath .. "/init.lua") then
scriptContents = fs.readFile(filePath .. "init.lua")
scriptContents = fs.readFile(filePath .. "/init.lua")
end
end