Apply suggestions from code review

Co-Authored-By: Laplie Anderson <randomanderson@users.noreply.github.com>
This commit is contained in:
Brian Devins-Suresh 2020-03-12 14:43:13 -04:00 committed by GitHub
parent 98f58dbea9
commit 9fe9be3f7c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 2 deletions

View File

@ -155,8 +155,7 @@ public class GlobalIgnoresMatcher<T extends TypeDescription>
return true;
}
if (!skipAdditionalLibraryMatcher) {
if (additionalLibraryIgnoreMatcher.matches(target)) {
if (!skipAdditionalLibraryMatcher && additionalLibraryIgnoreMatcher.matches(target)) {
return true;
}
}