We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e5e26cd commit b79ec3bCopy full SHA for b79ec3b
src/lualib/initsetting.lua
@@ -43,7 +43,7 @@ end
43
44
local function settings_filename(filename)
45
if filename then
46
- local realname = lfs.realpath(filename)
+ local realname = assert(lfs.realpath(filename))
47
local curpath, name = realname:match "(.*)[/\\]([^/\\]+)$"
48
if curpath and name then
49
lfs.chdir(curpath)
0 commit comments