aboutsummaryrefslogtreecommitdiff
path: root/src/feature/syncinfo.nim
diff options
context:
space:
mode:
authorkitsunyan2018-10-22 11:22:24 +0000
committerkitsunyan2018-10-22 11:22:24 +0000
commit55507df52ba95c2d97f02f2c4d0cdd2355cadaa2 (patch)
tree50e8c3a2d1e8b3d1be4c6248cc4cca8402ae1de3 /src/feature/syncinfo.nim
parenta953c4c49cff505b16d08d87a58962a878bc5127 (diff)
Replace config object tree with tuples
Diffstat (limited to 'src/feature/syncinfo.nim')
-rw-r--r--src/feature/syncinfo.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/feature/syncinfo.nim b/src/feature/syncinfo.nim
index f06cfa5..83f900b 100644
--- a/src/feature/syncinfo.nim
+++ b/src/feature/syncinfo.nim
@@ -109,7 +109,7 @@ proc handleSyncInfo*(args: seq[Argument], config: Config): int =
findSyncTargets(handle, dbs, targets, config.aurRepo, false, false)
let (pkgInfos, _, aerrors) = getAurPackageInfos(checkAurNames,
- config.aurRepo, config.arch, config.downloadTimeout)
+ config.aurRepo, config.common.arch, config.common.downloadTimeout)
for e in aerrors: printError(config.color, e)
let fullTargets = mapAurTargets[PackageInfo](syncTargets, pkgInfos, config.aurRepo)