mirror of
https://github.com/wahyd4/gitlabhq.git
synced 2026-08-15 07:36:41 +10:00
Use 'ruby script/upgrade.rb -y' instead of ENV
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
This commit is contained in:
@@ -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})
|
||||
|
||||
Reference in New Issue
Block a user