fix: clarify the value of SkillMetadata.path (#12729)

Rename `SkillMetadata.path` to `SkillMetadata.path_to_skills_md` for
clarity.

Would ideally change the type to `AbsolutePathBuf`, but that can be done
later.
This commit is contained in:
Michael Bolin
2026-02-24 17:15:54 -08:00
committed by GitHub
parent 63c2ac96cd
commit 448fb6ac22
14 changed files with 80 additions and 73 deletions

View File

@@ -931,7 +931,7 @@ async fn submission_prefers_selected_duplicate_skill_path() {
dependencies: None,
policy: None,
permissions: None,
path: repo_skill_path,
path_to_skills_md: repo_skill_path,
scope: SkillScope::Repo,
},
SkillMetadata {
@@ -942,7 +942,7 @@ async fn submission_prefers_selected_duplicate_skill_path() {
dependencies: None,
policy: None,
permissions: None,
path: user_skill_path.clone(),
path_to_skills_md: user_skill_path.clone(),
scope: SkillScope::User,
},
]));