Skip to content

Commit d1364d6

Browse files
committed
Fixed typo
1 parent 95e2fcb commit d1364d6

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

autoload/gist.vim

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
"=============================================================================
22
" File: gist.vim
33
" Author: Yasuhiro Matsumoto <mattn.jp@gmail.com>
4-
" Last Change: 17-Oct-2013.
4+
" Last Change: 13-Apr-2014.
55
" Version: 7.1
66
" WebPage: http://github.com/mattn/gist-vim
77
" License: BSD
@@ -803,9 +803,8 @@ function! s:GistGetAuthHeader()
803803
echohl None
804804
let password = inputsecret("GitHub Password for ".g:github_user.":")
805805
if len(password) == 0
806-
let secret = ''
807806
let v:errmsg = 'Canceled'
808-
return secrert
807+
return ''
809808
endif
810809
let insecureSecret = printf("basic %s", webapi#base64#b64encode(g:github_user.":".password))
811810
let res = webapi#http#post(g:github_api_url.'/authorizations', webapi#json#encode({

0 commit comments

Comments
 (0)