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,6 +50,9 @@ proc newModuleGraph*(config: ConfigRef = nil): ModuleGraph =
|
||||||
result.modules = @[]
|
result.modules = @[]
|
||||||
result.importStack = @[]
|
result.importStack = @[]
|
||||||
result.inclToMod = initTable[int32, int32]()
|
result.inclToMod = initTable[int32, int32]()
|
||||||
|
if config.isNil:
|
||||||
|
result.config = newConfigRef()
|
||||||
|
else:
|
||||||
result.config = config
|
result.config = config
|
||||||
|
|
||||||
proc resetAllModules*(g: ModuleGraph) =
|
proc resetAllModules*(g: ModuleGraph) =
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue