mirror of
https://github.com/ruby/ruby.git
synced 2025-08-24 05:25:34 +02:00
parent
bec069b0ca
commit
0eef33e113
Notes:
git
2023-03-23 08:19:23 +00:00
9 changed files with 89 additions and 103 deletions
|
@ -89,10 +89,9 @@ use with other commands.
|
|||
|
||||
def display_pipe(specs) # :nodoc:
|
||||
specs.each do |spec|
|
||||
unless spec.dependencies.empty?
|
||||
spec.dependencies.sort_by(&:name).each do |dep|
|
||||
say "#{dep.name} --version '#{dep.requirement}'"
|
||||
end
|
||||
next if spec.dependencies.empty?
|
||||
spec.dependencies.sort_by(&:name).each do |dep|
|
||||
say "#{dep.name} --version '#{dep.requirement}'"
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue