fix: resolve symlinked skill directories in preferences (#913)
This commit is contained in:
parent
10200c43f3
commit
6ed5e23603
1 changed files with 1 additions and 1 deletions
|
|
@ -333,7 +333,7 @@ function resolveSkillReference(ref: string, cwd: string): SkillResolution {
|
|||
try {
|
||||
const entries = readdirSync(dir, { withFileTypes: true });
|
||||
for (const entry of entries) {
|
||||
if (!entry.isDirectory()) continue;
|
||||
if (!entry.isDirectory() && !entry.isSymbolicLink()) continue;
|
||||
if (entry.name === expanded) {
|
||||
const skillFile = join(dir, entry.name, "SKILL.md");
|
||||
if (existsSync(skillFile)) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue