aboutsummaryrefslogtreecommitdiff
path: root/src/feature/syncsource.nim
diff options
context:
space:
mode:
Diffstat (limited to 'src/feature/syncsource.nim')
-rw-r--r--src/feature/syncsource.nim3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/feature/syncsource.nim b/src/feature/syncsource.nim
index c050e6a..09e9c6d 100644
--- a/src/feature/syncsource.nim
+++ b/src/feature/syncsource.nim
@@ -130,7 +130,8 @@ proc cloneAndCopy(config: Config, quiet: bool, fullTargets: seq[FullPackageTarge
newSeq[BaseTarget]())
let (update, terminate) = if quiet:
- (proc (a: int, b: int) {.closure.} = discard, proc () {.closure.} = discard)
+ (proc (a: int, b: int) {.closure, sideEffect.} = discard,
+ proc () {.closure, sideEffect.} = discard)
else:
printProgressShare(config.common.progressBar, tr"cloning repositories")