Permalink
Browse files

Remove unneeded "unless".

  • Loading branch information...
1 parent d261e9f commit b2823186f74280eabb75c6287f2132fbb8248751 @jimweirich committed Feb 21, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/rake/task.rb
View
@@ -71,7 +71,7 @@ def all_prerequisite_tasks
def fetch_prerequisites(list=[])
prerequisite_tasks.each do |pre|
list << pre and pre.fetch_prerequisites(list) unless list.include?(pre)
- end unless prerequisite_tasks.empty?
+ end
list
end
protected :fetch_prerequisites

0 comments on commit b282318

Please sign in to comment.