Skip to content

Commit 821637d

Browse files
committed
Prevent conflicting repos to be added via mlc add repo
1 parent a209db9 commit 821637d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mlc/repo_action.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ def register_repo(self, repo_path, repo_meta, ignore_on_conflict=False):
142142
else:
143143
logger.warning(f"The repo to be registered has conflict with the repo already in the path: {is_conflict['conflicting_path']}")
144144
if ignore_on_conflict:
145-
logger.warning(f"Ignoring reister as ignore_on_conflict is set")
145+
logger.warning(f"Ignoring register as ignore_on_conflict is set")
146146
return {"return": 0, 'conflict': True}
147147

148148
self.unregister_repo(is_conflict['conflicting_path'])

0 commit comments

Comments
 (0)