We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent de8b56f commit a7d0416Copy full SHA for a7d0416
main/env.lua
@@ -85,7 +85,7 @@ function sudo.run(path)
85
-- Catch in case we add .lua to our path.
86
if path:find('%.lua') then path = path:sub(1, path:find('%.lua') - 1) end
87
-- Make sure the file is there
88
- local file = dir..path..'.lua'
+ local file = dir..'lua/'..path..'.lua'
89
if not assert(loadfile(file)) then
90
sudo.printerr('Unable to run file "'..path..'": No file found.')
91
return
0 commit comments