lib/preinstaller.rb in cocoapods-keys-1.6.0 vs lib/preinstaller.rb in cocoapods-keys-1.6.1
- old
+ new
@@ -41,10 +41,10 @@
ui.puts ' What is the key for ' + key.green
answer = ''
loop do
ui.print ' > '
answer = ui.gets.strip
- break if answer.length > 0
+ break unless answer.empty?
end
ui.puts
args = CLAide::ARGV.new([key, answer, keyring.name])
setter = Pod::Command::Keys::Set.new(args)