Browse Source

Fix #353: Not Working On Windows

* Trailing slash appears to break clone command.
Jeremy Pallats/starcraft.man 10 năm trước cách đây
mục cha
commit
7f598e5b58
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  1. 2 0
      plug.vim

+ 2 - 0
plug.vim

@@ -1305,6 +1305,8 @@ class Plugin(object):
 
   def install(self):
     target = self.args['dir']
+    if target[-1] == '\\':
+      target = target[0:-1]
 
     def clean(target):
       def _clean():