lib/danger/commands/init_helpers/interviewer.rb in danger-0.6.5 vs lib/danger/commands/init_helpers/interviewer.rb in danger-0.7.0
- old
+ new
@@ -54,10 +54,10 @@
puts "\n#{question}?"
show_prompt
answer = STDIN.gets.chomp
- break if answer.length > 0
+ break if answer.empty?
print "\nYou need to provide an answer."
end
answer
end