Permalink
Browse files

Remove useless '|| value' in task names

  • Loading branch information...
1 parent 699b78d commit 53181b16235818f262298cf6fbb2f60e985f5ec4 @jimweirich committed Nov 21, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/rake/task.rb
View
@@ -105,7 +105,7 @@ def name_with_args # :nodoc:
# Argument description (nil if none).
def arg_description # :nodoc:
- @arg_names ? "[#{(arg_names || []).join(',')}]" : nil
+ @arg_names ? "[#{arg_names.join(',')}]" : nil
end
# Name of arguments for this task.

0 comments on commit 53181b1

Please sign in to comment.