Browse Source

fix(svn): fix sed call in `svn_get_rev_nr` (#10590)

Mykola Krachkovsky 2 years ago
parent
commit
1e277553bc
1 changed files with 1 additions and 1 deletions
  1. 1 1
      plugins/svn/svn.plugin.zsh

+ 1 - 1
plugins/svn/svn.plugin.zsh

@@ -55,7 +55,7 @@ svn_get_branch_name() {
 }
 
 svn_get_rev_nr() {
-  sed -n 's/Revision:\ //p' "${1:-$(LANG= svn info 2>/dev/null)}"
+  sed -n 's/Revision:\ //p' <<<"${1:-$(LANG= svn info 2>/dev/null)}"
 }
 
 svn_dirty() {