File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change 1
1
" =============================================================================
2
2
" File: gist.vim
3
3
" Author: Yasuhiro Matsumoto <mattn.jp@gmail.com>
4
- " Last Change: 17-Oct-2013 .
4
+ " Last Change: 13-Apr-2014 .
5
5
" Version: 7.1
6
6
" WebPage: http://github.com/mattn/gist-vim
7
7
" License: BSD
@@ -803,9 +803,8 @@ function! s:GistGetAuthHeader()
803
803
echohl None
804
804
let password = inputsecret (" GitHub Password for " .g: github_user ." :" )
805
805
if len (password) == 0
806
- let secret = ' '
807
806
let v: errmsg = ' Canceled'
808
- return secrert
807
+ return ' '
809
808
endif
810
809
let insecureSecret = printf (" basic %s" , webapi#base64#b64encode (g: github_user ." :" .password))
811
810
let res = webapi#http#post (g: github_api_url .' /authorizations' , webapi#json#encode ({
You can’t perform that action at this time.
0 commit comments