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:
commit
f34ae262bf
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue