Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 857c0a0

Browse files
fix: handle vendors in deleted files (#477)
1 parent 5696915 commit 857c0a0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

‎src/main/kotlin/app/hashers/CommitCrawler.kt‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,8 @@ object CommitCrawler {
184184
.filter { diff ->
185185
val path = diff.newPath
186186
for (cnv in VendorConventions) {
187-
if (cnv.containsMatchIn(path)) {
187+
if (cnv.containsMatchIn(path) ||
188+
cnv.containsMatchIn(diff.oldPath)) {
188189
return@filter false
189190
}
190191
}

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /