mirror of
https://github.com/nim-lang/Nim.git
synced 2025-12-28 08:54:53 +00:00
hotfix: --noNimblePath wasn't working when in a config file
This commit is contained in:
@@ -316,6 +316,9 @@ proc processSwitch(switch, arg: string, pass: TCmdLinePass, info: TLineInfo) =
|
||||
of "nonimblepath", "nobabelpath":
|
||||
expectNoArg(switch, arg, pass, info)
|
||||
options.gNoNimblePath = true
|
||||
options.lazyPaths.head = nil
|
||||
options.lazyPaths.tail = nil
|
||||
options.lazyPaths.counter = 0
|
||||
of "excludepath":
|
||||
expectArg(switch, arg, pass, info)
|
||||
let path = processPath(arg, info)
|
||||
|
||||
Reference in New Issue
Block a user