Skip to content

Commit 7e63887

Browse files
author
Ryan Jacobs
committed
Don't display the password as we are typing it.
More unixy.
1 parent f0cbe2b commit 7e63887

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

bin/github-copywriter

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ options[:repos] = ARGV
6868
# Get username and password
6969
puts "Obtaining OAuth2 access_token from github."
7070
username = ask("GitHub username: ") { |q| q.echo = true }
71-
password = ask("GitHub password: ") { |q| q.echo = "*" }
71+
password = ask("GitHub password: ") { |q| q.echo = false }
7272

7373
# Auth to GitHub
7474
cw = Copywriter.new(username, password)

lib/github-copywriter/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@ class Copywriter
88

99
# Current version
1010
# @return [String]
11-
VERSION = "1.0.0".freeze
11+
VERSION = "1.0.1".freeze
1212

1313
end

0 commit comments

Comments
 (0)