mirror of
https://github.com/HKUDS/OpenSpace.git
synced 2026-10-08 03:07:51 +00:00
docs: update register_skill_dir docstring to reflect idempotent return
This commit is contained in:
parent
c8fb895feb
commit
aa16419e46
1 changed files with 2 additions and 2 deletions
|
|
@ -299,8 +299,8 @@ class SkillRegistry:
|
|||
skill_dir: Path to a directory containing ``SKILL.md``.
|
||||
|
||||
Returns:
|
||||
:class:`SkillMeta` if newly registered, ``None`` if already
|
||||
present, the directory is invalid, or the skill fails safety checks.
|
||||
:class:`SkillMeta` if newly registered or already present,
|
||||
``None`` if the directory is invalid or the skill fails safety checks.
|
||||
"""
|
||||
skill_file = skill_dir / "SKILL.md"
|
||||
if not skill_file.exists():
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue