fix(executable): prevent nil extensions in executable check

fix on windows
fixes #1444
This commit is contained in:
kiyan 2022-07-19 14:11:53 +02:00
parent c964fa24d0
commit 630305c233

View File

@ -64,7 +64,7 @@ function M.reload(node, status)
end
local n = nodes_by_path[abs]
if n then
n.executable = builders.is_executable(abs, n.extension)
n.executable = builders.is_executable(abs, n.extension or "")
end
end
end