attempt to make nimble work again
This commit is contained in:
parent
56aa1ac5bc
commit
a86966eefd
1 changed files with 4 additions and 1 deletions
|
|
@ -50,7 +50,10 @@ proc newModuleGraph*(config: ConfigRef = nil): ModuleGraph =
|
|||
result.modules = @[]
|
||||
result.importStack = @[]
|
||||
result.inclToMod = initTable[int32, int32]()
|
||||
result.config = config
|
||||
if config.isNil:
|
||||
result.config = newConfigRef()
|
||||
else:
|
||||
result.config = config
|
||||
|
||||
proc resetAllModules*(g: ModuleGraph) =
|
||||
initStrTable(packageSyms)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue