Skip to content

Commit 6f321a2

Browse files
author
Steve Riesenberg
committed
Fix inconsistency in hasProperty check
1 parent 539443b commit 6f321a2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ public void execute(GitHubMilestoneHasNoOpenIssuesTask githubCheckMilestoneHasNo
2929
githubCheckMilestoneHasNoOpenIssues.setGroup("Release");
3030
githubCheckMilestoneHasNoOpenIssues.setDescription("Checks if there are any open issues for the specified repository and milestone");
3131
githubCheckMilestoneHasNoOpenIssues.setMilestoneTitle((String) project.findProperty("nextVersion"));
32-
if (project.hasProperty("githubAccessToken")) {
32+
if (project.hasProperty("gitHubAccessToken")) {
3333
githubCheckMilestoneHasNoOpenIssues.setGitHubAccessToken((String) project.findProperty("gitHubAccessToken"));
3434
}
3535
}

0 commit comments

Comments
 (0)