Skip to content

Commit ad75ef0

Browse files
authored
Fix trailing / issue for mlc add repo (#163)
* Fix trailing issue for mlc repo add * Minor version update
1 parent 38f3369 commit ad75ef0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

mlc/repo_action.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ def add(self, run_args):
7272
return {"return": 1, "error": "The repository to be added is not specified"}
7373

7474
i_repo_path = run_args['repo'] #can be a path, forder_name or URL
75-
repo_folder_name = os.path.basename(i_repo_path)
75+
repo_folder_name = os.path.basename(i_repo_path.rstrip('/'))
7676

7777
repo_path = os.path.join(self.repos_path, repo_folder_name)
7878

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "mlcflow"
7-
version = "1.0.18"
7+
version = "1.0.19"
88

99

1010
description = "An automation interface for ML applications"

0 commit comments

Comments
 (0)