BigW Consortium Gitlab

Commit c638ef33 by Dmitriy Zaporozhets

Use 'ruby script/upgrade.rb -y' instead of ENV

parent 51c9f0fd
......@@ -12,7 +12,7 @@ module Gitlab
puts "You use latest GitLab version"
else
puts "Newer GitLab version is available"
answer = if ENV['force'] == "yes"
answer = if ARGV.first == "-y"
"yes"
else
prompt("Do you want to upgrade (yes/no)? ".blue, %w{yes no})
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment