Permalink
Browse files

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

  • Loading branch information...
1 parent 8e4076a commit 652ad729f2bc80a0bed2cc7f773ac3b17d771883 @fakeleft committed Mar 20, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 bin/vim-ruby-install.rb
View
@@ -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

0 comments on commit 652ad72

Please sign in to comment.