mirror of
https://github.com/lune-org/docs.git
synced 2024-12-12 04:50:36 +00:00
Fix missed path separator for lua script discovery (#13)
This commit is contained in:
parent
d706e83920
commit
0a1e5ae87d
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue