fix(executable): prevent nil extensions in executable check
fix on windows fixes #1444
This commit is contained in:
parent
c964fa24d0
commit
630305c233
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user