Skip to content
Snippets Groups Projects
Commit ba06e250 authored by Jack Nagel's avatar Jack Nagel
Browse files

Don't print multiple deps messages when only installing one dep

parent 4d086e83
No related branches found
No related tags found
No related merge requests found
...@@ -315,7 +315,10 @@ class FormulaInstaller ...@@ -315,7 +315,10 @@ class FormulaInstaller
end end
def install_dependencies def install_dependencies
oh1 "Installing dependencies for #{f}: #{Tty.green}#{effective_deps.join(", ")}#{Tty.reset}" if not effective_deps.empty? if effective_deps.length > 1
oh1 "Installing dependencies for #{f}: #{Tty.green}#{effective_deps*", "}#{Tty.reset}"
end
effective_deps.each do |dep| effective_deps.each do |dep|
if dep.requested? if dep.requested?
install_dependency(dep) install_dependency(dep)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment