Skip to content
Permalink
Browse files

Duplicate slash

  • Loading branch information
FlorianSW committed Nov 21, 2019
1 parent 72d18fa commit 095df7eeff71c71b63b8d5efce546e31c68e9b00
Showing with 1 addition and 1 deletion.
  1. +1 −1 gitinfo/cache_git_info.py
@@ -138,7 +138,7 @@ def git_info_filename(directory, install_path, cache_path):
'xyzzy/info-bar-baz.json'
"""
if ".." in directory:
path = directory.replace('..', '/data/mediawiki', 1)
path = directory.replace('..', 'data/mediawiki', 1)
else:
path = directory
if path.startswith(install_path):

0 comments on commit 095df7e

Please sign in to comment.
You can’t perform that action at this time.