Fix missed path separator for lua script discovery (#13)

This commit is contained in:
Erica Marigold 2024-08-04 19:47:40 +05:30 committed by GitHub
parent d706e83920
commit 0a1e5ae87d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

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

View file

@ -67,7 +67,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