Print message when VideoJS deps are satisfied

This commit is contained in:
syeopite 2021-09-11 22:23:19 -07:00
parent 262131f68e
commit f47b588b91
No known key found for this signature in database
GPG key ID: 6FA616E5A5294A82

View file

@ -143,10 +143,14 @@ dependencies_to_install.each do |dep|
end
end
puts "#{"Resolving".colorize(:green)} #{"VideoJS".colorize(:blue)} dependencies"
dependencies_to_install.size.times do
if dependencies_to_install.empty?
puts "#{"VideoJS".colorize(:blue)} #{"dependencies".colorize(:green)} are satisfied"
else
puts "#{"Resolving".colorize(:green)} #{"VideoJS".colorize(:blue)} dependencies"
dependencies_to_install.size.times do
result = channel.receive
puts "#{"Fetched".colorize(:green)} #{result.colorize(:blue)}"
end
end
# Cleanup