Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Make 'yes' the default, to match the prompt.

  • Loading branch information...
commit 652ad729f2bc80a0bed2cc7f773ac3b17d771883 1 parent 8e4076a
@fakeleft fakeleft authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  bin/vim-ruby-install.rb
View
1  bin/vim-ruby-install.rb
@@ -431,6 +431,7 @@ def path
puts
puts "Target directory '#{target_dir}' does not exist."
response = Env.ask_user "Do you want to create it? [Yn] "
+ response = "y" if response.empty?
if response.strip =~ /^y(es)?$/i
FileUtils.mkdir_p(target_dir, :verbose => true)
else
Please sign in to comment.
Something went wrong with that request. Please try again.