Fix #353: Not Working On Windows
* Trailing slash appears to break clone command.
This commit is contained in:
parent
87b426e381
commit
7f598e5b58
1 changed files with 2 additions and 0 deletions
2
plug.vim
2
plug.vim
|
@ -1305,6 +1305,8 @@ class Plugin(object):
|
||||||
|
|
||||||
def install(self):
|
def install(self):
|
||||||
target = self.args['dir']
|
target = self.args['dir']
|
||||||
|
if target[-1] == '\\':
|
||||||
|
target = target[0:-1]
|
||||||
|
|
||||||
def clean(target):
|
def clean(target):
|
||||||
def _clean():
|
def _clean():
|
||||||
|
|
Loading…
Reference in a new issue