upgrade wakatime-cli to v10.0.4
This commit is contained in:
parent
c4a88541d0
commit
e0040e185b
7 changed files with 61 additions and 41 deletions
|
@ -123,6 +123,6 @@ class Git(BaseProject):
|
|||
subpath = line[len('gitdir: '):].strip()
|
||||
if os.path.isfile(os.path.join(path, subpath, 'config')) and \
|
||||
os.path.isfile(os.path.join(path, subpath, 'HEAD')):
|
||||
return os.path.join(path, subpath)
|
||||
return os.path.realpath(os.path.join(path, subpath))
|
||||
|
||||
return None
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue