Prevent processed file collisions

This commit is contained in:
Joey Yakimowich-Payne 2018-07-15 10:06:46 +09:00
commit ffc73c6b6d

View file

@ -25,7 +25,7 @@ proc getKey(ukey: string): tuple[key: string, val: bool] =
proc runFile*(file: string, cfgin: OrderedTableRef = newOrderedTable[string, string]()) = proc runFile*(file: string, cfgin: OrderedTableRef = newOrderedTable[string, string]()) =
var var
cfg = cfgin cfg = cfgin
sfile = search(file) sfile = search(file).sanitizePath
if sfile in gDoneRecursive: if sfile in gDoneRecursive:
return return