This is an automated email from the ASF dual-hosted git repository. sebb pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/whimsy.git
The following commit(s) were added to refs/heads/master by this push: new e0ec86a Clarify error e0ec86a is described below commit e0ec86aa572300b2bc0ddde66f57dc5719ed4e95 Author: Sebb <s...@apache.org> AuthorDate: Sat Jul 28 19:08:50 2018 +0100 Clarify error --- lib/whimsy/asf/ldap.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/whimsy/asf/ldap.rb b/lib/whimsy/asf/ldap.rb index a7821ac..afad201 100644 --- a/lib/whimsy/asf/ldap.rb +++ b/lib/whimsy/asf/ldap.rb @@ -131,7 +131,7 @@ module ASF # when run interactively, will default user and prompt for password def self.bind(user=nil, password=nil, &block) if not user or not password - raise ArgumentError.new('wrong number of arguments') unless STDIN.isatty + raise ArgumentError.new('Need user name and password') unless STDIN.isatty require 'etc' require 'io/console'