diff options
author | genotrance <dev@genotrance.com> | 2019-11-29 03:18:44 -0600 |
---|---|---|
committer | Andreas Rumpf <rumpf_a@web.de> | 2019-11-29 10:18:44 +0100 |
commit | 49db2a08ba78a5964067c5107d3de232c120daa4 (patch) | |
tree | a8a1698180b0bb99ee2ec6c2c98a335fa354bde9 /compiler | |
parent | 9ea55eccbbc61c6e7429c094b6ced41ce5535aeb (diff) | |
download | Nim-49db2a08ba78a5964067c5107d3de232c120daa4.tar.gz |
Fixes #12767 (#12768)
Diffstat (limited to 'compiler')
-rw-r--r-- | compiler/options.nim | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler/options.nim b/compiler/options.nim index 561403077..06f30ef99 100644 --- a/compiler/options.nim +++ b/compiler/options.nim @@ -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 |