hotfix: --noNimblePath wasn't working when in a config file
This commit is contained in:
parent
893be3a5a4
commit
f3fdad0eda
1 changed files with 3 additions and 0 deletions
|
|
@ -316,6 +316,9 @@ proc processSwitch(switch, arg: string, pass: TCmdLinePass, info: TLineInfo) =
|
||||||
of "nonimblepath", "nobabelpath":
|
of "nonimblepath", "nobabelpath":
|
||||||
expectNoArg(switch, arg, pass, info)
|
expectNoArg(switch, arg, pass, info)
|
||||||
options.gNoNimblePath = true
|
options.gNoNimblePath = true
|
||||||
|
options.lazyPaths.head = nil
|
||||||
|
options.lazyPaths.tail = nil
|
||||||
|
options.lazyPaths.counter = 0
|
||||||
of "excludepath":
|
of "excludepath":
|
||||||
expectArg(switch, arg, pass, info)
|
expectArg(switch, arg, pass, info)
|
||||||
let path = processPath(arg, info)
|
let path = processPath(arg, info)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue