fix: infinite loop on the find_cached_dir function on the Windows OS

This commit is contained in:
mrcapivaro 2024-06-18 00:03:51 -03:00
parent 0b4d31c665
commit d55461ffdb

View file

@ -13,7 +13,7 @@ local function find_cached_dir(dir)
local cur = dir
while not job_cache[cur] do
if cur == '/' then
if cur == '/' or string.match(cur, '^[A-Z]:\\$') then
return
end