Skip to content

Commit

Permalink
Remove useless '|| value' in task names
Browse files Browse the repository at this point in the history
  • Loading branch information
jimweirich committed Nov 21, 2012
1 parent 699b78d commit 53181b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/rake/task.rb
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ def name_with_args # :nodoc:


# Argument description (nil if none). # Argument description (nil if none).
def arg_description # :nodoc: def arg_description # :nodoc:
@arg_names ? "[#{(arg_names || []).join(',')}]" : nil @arg_names ? "[#{arg_names.join(',')}]" : nil
end end


# Name of arguments for this task. # Name of arguments for this task.
Expand Down

0 comments on commit 53181b1

Please sign in to comment.