Skip to content
This repository has been archived by the owner on Nov 19, 2024. It is now read-only.

Commit

Permalink
Improve the verify deps to handle both forms of the redhat suffix
Browse files Browse the repository at this point in the history
  • Loading branch information
EricWittmann committed Aug 28, 2024
1 parent 5bdb08c commit 88a5708
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ public boolean endVisit(DependencyNode dependencyNode) {
}

private boolean isValid(Artifact artifact) {
return artifact.getVersion().contains("-redhat-");
return artifact.getVersion().contains("-redhat-") || artifact.getVersion().contains(".redhat-");
}

private static String serialize(Set<Artifact> invalidArtifacts) {
Expand Down

0 comments on commit 88a5708

Please sign in to comment.