Browse Source

Fix inconsistency in hasProperty check

pull/11736/head
Steve Riesenberg 4 years ago
parent
commit
6f321a27c4
No known key found for this signature in database
GPG Key ID: 5F311AB48A55D521
  1. 2
      buildSrc/src/main/java/org/springframework/gradle/github/milestones/GitHubMilestonePlugin.java

2
buildSrc/src/main/java/org/springframework/gradle/github/milestones/GitHubMilestonePlugin.java

@ -29,7 +29,7 @@ public class GitHubMilestonePlugin implements Plugin<Project> { @@ -29,7 +29,7 @@ public class GitHubMilestonePlugin implements Plugin<Project> {
githubCheckMilestoneHasNoOpenIssues.setGroup("Release");
githubCheckMilestoneHasNoOpenIssues.setDescription("Checks if there are any open issues for the specified repository and milestone");
githubCheckMilestoneHasNoOpenIssues.setMilestoneTitle((String) project.findProperty("nextVersion"));
if (project.hasProperty("githubAccessToken")) {
if (project.hasProperty("gitHubAccessToken")) {
githubCheckMilestoneHasNoOpenIssues.setGitHubAccessToken((String) project.findProperty("gitHubAccessToken"));
}
}

Loading…
Cancel
Save