Try to figure out attribute checker problem (#33901) (#33902)

Backport #33901
This commit is contained in:
wxiaoguang authored and GitHub committed 2025-03-17 11:59:51 -07:00
1 parent 5fadcf997e
commit 92280637a4
4 files changed
+96 -15

No files matched your search

+2
View File
@@ -1193,6 +1193,8 @@ func GetDiff(ctx context.Context, gitRepo *git.Repository, opts *DiffOptions, fi
if language.Has() {
diffFile.Language = language.Value()
}
} else {
checker = nil // CheckPath fails, it's not impossible to "check" anymore
}
}