Fix problem in briefClone
It was too brief. So brief that forgot to copy some important fields.
This commit is contained in:
parent
1c8919092e
commit
cd5db600dc
1 changed files with 2 additions and 0 deletions
|
|
@ -409,5 +409,7 @@ proc briefClone*(options: Options): Options =
|
||||||
var newOptions = initOptions()
|
var newOptions = initOptions()
|
||||||
newOptions.config = options.config
|
newOptions.config = options.config
|
||||||
newOptions.nimbleData = options.nimbleData
|
newOptions.nimbleData = options.nimbleData
|
||||||
|
newOptions.nimbleDir = options.nimbleDir
|
||||||
|
newOptions.forcePrompts = options.forcePrompts
|
||||||
newOptions.pkgInfoCache = options.pkgInfoCache
|
newOptions.pkgInfoCache = options.pkgInfoCache
|
||||||
return newOptions
|
return newOptions
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue