mirror of
https://github.com/QwenLM/qwen-code.git
synced 2026-05-02 21:50:52 +00:00
fix dirs in getUserSkillsDirs
This commit is contained in:
parent
c3c8b39a29
commit
06bef3b91f
9 changed files with 32 additions and 24 deletions
|
|
@ -241,6 +241,10 @@ export function isSubpath(parentPath: string, childPath: string): boolean {
|
|||
);
|
||||
}
|
||||
|
||||
export function isSubpaths(parentPath: string[], childPath: string): boolean {
|
||||
return parentPath.some((p) => isSubpath(p, childPath));
|
||||
}
|
||||
|
||||
/**
|
||||
* Resolves a path with tilde (~) expansion and relative path resolution.
|
||||
* Handles tilde expansion for home directory and resolves relative paths
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue