Revert sync wiki setting check

This commit is contained in:
Chongyi Zheng 2023-08-24 13:47:08 -04:00
parent 6962c14cf3
commit 4a33b2a1b3
No known key found for this signature in database
GPG Key ID: E3C2287691E40E35
1 changed files with 1 additions and 1 deletions

View File

@ -335,7 +335,7 @@ func runSyncGit(ctx context.Context, m *repo_model.Mirror) ([]*mirrorSyncResult,
log.Error("SyncMirrors [repo: %-v]: failed to update size for mirror repository: %v", m.Repo, err)
}
if m.Repo.HasWiki() && m.SyncWiki {
if m.Repo.HasWiki() {
log.Trace("SyncMirrors [repo: %-v Wiki]: running git remote update...", m.Repo)
stderrBuilder.Reset()
stdoutBuilder.Reset()