Skip to content

Commit

Permalink
One more fix for 5.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesagnew committed May 15, 2020
1 parent fe0e07a commit b46f4a9
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,12 @@ public Builder forVersion(T theRelease) {
theTask.validate();
myTasks.put(theRelease, theTask);
};
return new Builder(theRelease.name(), sink);
return new Builder(toReleaseName(theRelease), sink);
}

@Nonnull
protected String toReleaseName(T theRelease) {
return theRelease.name();
}

public List<BaseTask> getAllTasks(T[] theVersionEnumValues) {
Expand Down

0 comments on commit b46f4a9

Please sign in to comment.