summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/highline/question_asker.rb2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/highline/question_asker.rb b/lib/highline/question_asker.rb
index 10a43ef..433d709 100644
--- a/lib/highline/question_asker.rb
+++ b/lib/highline/question_asker.rb
@@ -64,12 +64,10 @@ class HighLine
#
# @return [Array, Hash] answers
def gather_answers
- original_question_template = question.template
verify_match = question.verify_match
answers = []
loop do # when verify_match is set this loop will repeat until unique_answers == 1
- question.template = original_question_template
answers = gather_answers_based_on_type
if verify_match && (@highline.send(:unique_answers, answers).size > 1)