Explorar el Código

Merge pull request #354 from starcraftman/trail_slash

Fix #353: Not Working On Windows
Jeremy Pallats/starcraft.man hace 10 años
padre
commit
b836656556
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  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():