summaryrefslogtreecommitdiffstats
path: root/tasks
diff options
context:
space:
mode:
authorMatt Robinson <matt@puppetlabs.com>2011-03-22 00:54:09 -0700
committerMatt Robinson <matt@puppetlabs.com>2011-03-22 00:54:09 -0700
commitd448763f6e94709b688e12f2a0edc589cf38e6fa (patch)
tree05810177f0aa56eb5de99ca8d38247d0eb9729b9 /tasks
parent517fd2f3d354fb2c411d872187de12a92c992456 (diff)
downloadpuppet-d448763f6e94709b688e12f2a0edc589cf38e6fa.tar.gz
puppet-d448763f6e94709b688e12f2a0edc589cf38e6fa.tar.xz
puppet-d448763f6e94709b688e12f2a0edc589cf38e6fa.zip
(#6566) Fix ruby 1.9 incompatible case statement
Once the futils area of the Rakefile was fixed, running `rake spec` turned up this problem.
Diffstat (limited to 'tasks')
-rw-r--r--tasks/rake/git_workflow.rake4
1 files changed, 2 insertions, 2 deletions
diff --git a/tasks/rake/git_workflow.rake b/tasks/rake/git_workflow.rake
index 1ba57c1aa..68a4d4a59 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