mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-02 07:18:25 +01:00
scm: add usage of os.path.normpath
This commit is contained in:
@@ -241,7 +241,7 @@ class Git(Base):
|
||||
|
||||
from gitdb.exc import BadObject, BadName
|
||||
|
||||
file_name = file_name[:-1] if file_name.endswith("/") else file_name
|
||||
file_name = os.path.normpath(file_name)
|
||||
file_name += ".dvc"
|
||||
commits = []
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user