Merge pull request #17 from ballou88/fix-for-broken-prompt-for-password

Fix for prompt_for_password
This commit is contained in:
Norm MacLennan
2015-11-20 08:54:56 -05:00

View File

@@ -66,9 +66,10 @@ 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
# @return [String] the location of the WDSL document # @return [String] the location of the WDSL document