Skip to content

Commit

Permalink
Merge pull request #422 from jcrokicki/html-report-fixes
Browse files Browse the repository at this point in the history
Html report fixes
  • Loading branch information
jcrokicki authored Sep 8, 2020
2 parents ce34c21 + 5c304ef commit d804294
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ apply plugin: 'nexus'
apply plugin: 'codenarc'

group = 'com.github.ben-manes'
version = '0.30.0'
version = '0.31.0'

sourceCompatibility = '1.8'

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ class HtmlReporter extends AbstractReporter {
if (getRevision().equalsIgnoreCase("milestone")) {
return item.getAvailable().getMilestone()
} else if (getRevision().equalsIgnoreCase("release")) {
return item.getVersion()
return item.getAvailable().getRelease()
} else if (getRevision().equalsIgnoreCase("integration")) {
return item.getAvailable().getIntegration()
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,8 @@ class DependencyUpdatesReporter {
project.logger.lifecycle '\nGenerated report file ' + filename
}

Reporter getOutputReporter(def formatter) {
Reporter getOutputReporter(String formatterOriginal) {
String formatter = formatterOriginal.replaceAll("\\s", "")
def reporter

switch (formatter) {
Expand Down

0 comments on commit d804294

Please sign in to comment.