Don't check Nim version when init'ing config (breaks .babel dir).
This commit is contained in:
parent
5d5825a179
commit
cfe68bb441
1 changed files with 1 additions and 4 deletions
|
|
@ -17,10 +17,7 @@ type
|
||||||
urls*: seq[string]
|
urls*: seq[string]
|
||||||
|
|
||||||
proc initConfig(): Config =
|
proc initConfig(): Config =
|
||||||
if getNimrodVersion() > newVersion("0.9.6"):
|
|
||||||
result.nimbleDir = getHomeDir() / ".nimble"
|
result.nimbleDir = getHomeDir() / ".nimble"
|
||||||
else:
|
|
||||||
result.nimbleDir = getHomeDir() / ".babel"
|
|
||||||
|
|
||||||
result.httpProxy = initUri()
|
result.httpProxy = initUri()
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue