Skip to content

Commit

Permalink
Fix escaping empty strings
Browse files Browse the repository at this point in the history
  • Loading branch information
rbong committed Sep 19, 2024
1 parent 6b4aba6 commit 13adc0f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion autoload/flog/shell.vim
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"

function! flog#shell#Escape(str) abort
if a:str =~# '^[A-Za-z0-9_/:.-]*$'
if a:str =~# '^[A-Za-z0-9_/:.-]\+$'
return a:str
elseif has('win32') && &shellcmdflag !~# '^-'
" Escape in Windows shell
Expand Down

0 comments on commit 13adc0f

Please sign in to comment.