@cannbot-ai/install-helper 1.1.6-beta.4 → 1.1.6-beta.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -2892,10 +2892,8 @@ function getInstalledSkills(tool, level, installPath) {
2892
2892
  for (const entry of entries) {
2893
2893
  if (entry === "." || entry === "..") continue;
2894
2894
  const entryPath = join10(skillsDir, entry);
2895
- if (isSymlink(entryPath) || existsSync11(entryPath)) {
2896
- if (!fromRecord.includes(entry)) {
2897
- fromFs.push(entry);
2898
- }
2895
+ if (isSymlink(entryPath) && !fromRecord.includes(entry)) {
2896
+ fromFs.push(entry);
2899
2897
  }
2900
2898
  }
2901
2899
  } catch {