mirror of
https://github.com/codewhale-hq/Codewhale.git
synced 2026-11-08 08:04:25 -10:00
fix(skills): collapse owned-root condition for clippy [skip ci]
Preserve the same owned global root classification while satisfying the existing lint. On the preceding frozen mixed tree, codewhale-skills lib: 182 passed; targeted skills/localization clippy passed. The skills source hash remains unchanged since that run; no workspace clippy or release gate is claimed.
This commit is contained in:
1 parent
74517cbcac
commit
f20a0d7144
1 file changed
+8
-8
@@ -480,14 +480,14 @@ pub fn classify_configured_skills_dir(
|
||||
SkillScope::Project,
|
||||
);
|
||||
}
|
||||
if let Some(global_owned) = owned_global_skills_dir(home_dir) {
|
||||
if paths_refer_to_same_dir(&global_owned, skills_dir) {
|
||||
return (
|
||||
SkillRootKind::CodeWhaleGlobal,
|
||||
SkillRootAccess::WritableOwned,
|
||||
SkillScope::Global,
|
||||
);
|
||||
}
|
||||
if let Some(global_owned) = owned_global_skills_dir(home_dir)
|
||||
&& paths_refer_to_same_dir(&global_owned, skills_dir)
|
||||
{
|
||||
return (
|
||||
SkillRootKind::CodeWhaleGlobal,
|
||||
SkillRootAccess::WritableOwned,
|
||||
SkillScope::Global,
|
||||
);
|
||||
}
|
||||
|
||||
if let Some(harness) = match_compatible_project(workspace, skills_dir) {
|
||||
|
||||
Reference in new issue
Block a user