aboutsummaryrefslogtreecommitdiff
path: root/src/feature/syncinstall.nim
diff options
context:
space:
mode:
authorj-james2020-12-23 20:52:52 +0000
committerj-james2020-12-23 20:52:52 +0000
commit855ba8396725812bee2bf975423700280d3044b1 (patch)
treec80ee79ba8b59c1745e32c2e39b8401d36e613cb /src/feature/syncinstall.nim
parent0601052833bfb97cc178cdbd7aa150ecec4c7e5b (diff)
Add support for pacman's progress bar Easter eggzqqw
Diffstat (limited to 'src/feature/syncinstall.nim')
-rw-r--r--src/feature/syncinstall.nim6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/feature/syncinstall.nim b/src/feature/syncinstall.nim
index 8f26d0d..53b6585 100644
--- a/src/feature/syncinstall.nim
+++ b/src/feature/syncinstall.nim
@@ -42,7 +42,7 @@ proc createCloneProgress(config: Config, count: int, flexible: bool, printMode:
(proc (update: int, terminate: int) {.closure.}, proc {.closure.}) =
if count >= 1 and not printMode:
let (update, terminate) = printProgressShare(config.common.progressBar,
- tr"cloning repositories")
+ config.common.chomp, tr"cloning repositories")
update(0, count)
if flexible:
@@ -963,12 +963,12 @@ proc filterIgnoresAndConflicts(config: Config, pkgInfos: seq[PackageInfo],
let nonConflicingPkgInfos = acceptedPkgInfos.foldl(block:
let conflictsWith = collect(newSeq):
for p in a:
- if p.rpc.name != b.rpc.name and
+ if p.rpc.name != b.rpc.name and
(block:collect(newSeq):
for c in b.conflicts:
if c.isProvidedBy(p.rpc.toPackageReference, true):
0
- ).len>0 or
+ ).len>0 or
(block:collect(newSeq):
for c in p.conflicts:
if c.isProvidedBy(p.rpc.toPackageReference, true):