2
0

Try to figure out attribute checker problem (#33901)

For #31600
This commit is contained in:
wxiaoguang
2025-03-18 02:59:34 +08:00
committed by GitHub
parent 50e8bebe38
commit 59e468523e
4 changed files with 96 additions and 15 deletions

View File

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