fix(executable): prevent nil extensions in executable check
fix on windows fixes #1444
This commit is contained in:
@@ -64,7 +64,7 @@ function M.reload(node, status)
|
|||||||
end
|
end
|
||||||
local n = nodes_by_path[abs]
|
local n = nodes_by_path[abs]
|
||||||
if n then
|
if n then
|
||||||
n.executable = builders.is_executable(abs, n.extension)
|
n.executable = builders.is_executable(abs, n.extension or "")
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user