this is a fix for commit 813b171d26 which

broke the prompt_for_password method and resulted a nil password.
This commit is contained in:
Mike Ballou
2015-11-19 10:55:42 -08:00
parent 804d044632
commit 293abdacde

View File

@@ -66,8 +66,9 @@ module Zanzibar
def prompt_for_password def prompt_for_password
puts "Please enter password for #{@@username}:" puts "Please enter password for #{@@username}:"
STDIN.noecho(&:gets).chomp STDIN.noecho(&:gets).chomp.tap do
puts "Using password to login..." puts "Using password to login..."
end
end end
## Gets the wsdl document location if none is provided in the constructor ## Gets the wsdl document location if none is provided in the constructor