In the git_workflow task we have an invalid when: foo clause Replaced with when; foo
Signed-off-by: James Turnbull <[email protected]> --- tasks/rake/git_workflow.rake | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tasks/rake/git_workflow.rake b/tasks/rake/git_workflow.rake index b2f96c6..60a7d52 100644 --- a/tasks/rake/git_workflow.rake +++ b/tasks/rake/git_workflow.rake @@ -6,8 +6,8 @@ def find_start(start) # This is a case statement, as we might want to map certain # git tags to starting points that are not currently in git. case start - when nil?: - when @next_release: return "master" + when nil?; + when @next_release; return "master" else return start end end -- 1.7.1 -- You received this message because you are subscribed to the Google Groups "Puppet Developers" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/puppet-dev?hl=en.
