mirror of
https://github.com/spring-projects/spring-security.git
synced 2025-07-17 07:43:30 +00:00
Fix inconsistency in hasProperty check
This commit is contained in:
parent
539443b4be
commit
6f321a27c4
@ -29,7 +29,7 @@ public class GitHubMilestonePlugin implements Plugin<Project> {
|
|||||||
githubCheckMilestoneHasNoOpenIssues.setGroup("Release");
|
githubCheckMilestoneHasNoOpenIssues.setGroup("Release");
|
||||||
githubCheckMilestoneHasNoOpenIssues.setDescription("Checks if there are any open issues for the specified repository and milestone");
|
githubCheckMilestoneHasNoOpenIssues.setDescription("Checks if there are any open issues for the specified repository and milestone");
|
||||||
githubCheckMilestoneHasNoOpenIssues.setMilestoneTitle((String) project.findProperty("nextVersion"));
|
githubCheckMilestoneHasNoOpenIssues.setMilestoneTitle((String) project.findProperty("nextVersion"));
|
||||||
if (project.hasProperty("githubAccessToken")) {
|
if (project.hasProperty("gitHubAccessToken")) {
|
||||||
githubCheckMilestoneHasNoOpenIssues.setGitHubAccessToken((String) project.findProperty("gitHubAccessToken"));
|
githubCheckMilestoneHasNoOpenIssues.setGitHubAccessToken((String) project.findProperty("gitHubAccessToken"));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user