fogbugz 1.0.7 → 1.0.8
Sign up to get free protection for your applications and to get access to all the features.
- data/bin/fogbugz-logoff +3 -2
- metadata +1 -1
data/bin/fogbugz-logoff
CHANGED
@@ -4,8 +4,9 @@ require 'fogbugz/common'
|
|
4
4
|
check_api_url
|
5
5
|
check_api_token
|
6
6
|
|
7
|
+
CONFIG[:api_token] = nil
|
8
|
+
IO::write(CONFIG_FILE, CONFIG.to_yaml)
|
9
|
+
|
7
10
|
parse_opts "usage: #{File::basename(__FILE__)} [options]", 0
|
8
11
|
do_api 'logoff'
|
9
12
|
|
10
|
-
CONFIG[:api_token] = nil
|
11
|
-
IO::write(CONFIG_FILE, CONFIG.to_yaml)
|