mirror of
https://github.com/capistrano/capistrano
synced 2023-03-27 23:21:18 -04:00
pressing "enter" as the default doesn't actually work
This commit is contained in:
parent
1923c120f5
commit
d5b2042329
1 changed files with 0 additions and 1 deletions
|
@ -29,7 +29,6 @@ module Capistrano
|
|||
prompt = "Execute ([Yes], No, Abort) "
|
||||
ui.ask("#{prompt}? ") do |q|
|
||||
q.overwrite = false
|
||||
q.character = true
|
||||
q.default = 'y'
|
||||
q.validate = /(y(es)?)|(no?)|(a(bort)?|\n)/i
|
||||
q.responses[:not_valid] = prompt
|
||||
|
|
Loading…
Add table
Reference in a new issue