Skip to content

Commit 9f2624e

Browse files
authored
Update services/gitdiff/gitdiff.go
Signed-off-by: wxiaoguang <[email protected]>
1 parent 625d48a commit 9f2624e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

services/gitdiff/gitdiff.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1356,7 +1356,7 @@ func SyncUserSpecificDiff(ctx context.Context, userID int64, pull *issues_model.
13561356
// But as that does not work for all potential errors, we simply mark all files as unchanged and drop the error which always works, even if not as good as possible
13571357
if err != nil {
13581358
log.Error("Could not get changed files between %s and %s for pull request %d in repo with path %s. Assuming no changes. Error: %w", review.CommitSHA, latestCommit, pull.Index, gitRepo.Path, err)
1359-
err = nil
1359+
err = nil //nolint
13601360
}
13611361

13621362
filesChangedSinceLastDiff := make(map[string]pull_model.ViewedState)

0 commit comments

Comments
 (0)