mirror of
https://github.com/runkids/skillshare.git
synced 2026-11-20 12:23:22 +00:00
checkTargetIssues resolved os.Readlink output with filepath.Abs, which anchors relative links to the current working directory. In project symlink mode the valid link ../.skillshare/skills was reported as pointing to the wrong location. Use utils.ResolveLinkTarget, the same helper the sync engine already relies on. checkDuplicateSkills read the target directory through that symlink, so every source skill also showed up as a target-local copy. Skip targets whose skills directory is itself a link. Closes #251