Merge pull request #10 from mrcapivaro/main

fix: infinite loop on the find_cached_dir function on the Windows OS
This commit is contained in:
Barrett Ruth 2024-06-18 14:15:06 +00:00 committed by GitHub
commit f34ae262bf
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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