This commit is contained in:
genotrance 2019-11-29 03:18:44 -06:00 • committed by Andreas Rumpf
commit 49db2a08ba
4 changed files with 18 additions and 1 deletions

View file

@ -552,9 +552,11 @@ proc removeTrailingDirSep*(path: string): string =
proc disableNimblePath*(conf: ConfigRef) =
incl conf.globalOptions, optNoNimblePath
conf.lazyPaths.setLen(0)
conf.nimblePaths.setLen(0)
proc clearNimblePath*(conf: ConfigRef) =
conf.lazyPaths.setLen(0)
conf.nimblePaths.setLen(0)
include packagehandling