Skip to content

Commit dcc9d16

Browse files
committed
Fixes setContentFromFile
1 parent 89937c6 commit dcc9d16

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

autoload/webapi/atom.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ for s:name in ['author', 'link', 'category', 'feed', 'entry']
6868
endfor
6969
function s:entry_template.setContentFromFile(file) dict
7070
let quote = &shellxquote == '"' ? "'" : '"'
71-
let bits = substitute(s:system("xxd -ps ".quote.file.quote), "[ \n\r]", '', 'g')
71+
let bits = substitute(s:system("xxd -ps ".quote.a:file.quote), "[ \n\r]", '', 'g')
7272
let self['mode'] = "base64"
7373
let self['content'] = webapi#base64#b64encodebin(bits)
7474
endfunction

0 commit comments

Comments
 (0)