mirror of
https://github.com/runkids/skillshare.git
synced 2026-11-20 12:23:22 +00:00
- Fix folder trailing slash bug: filepath.Clean now normalizes input before matchesFolder comparison (e.g. 'frontend/' → 'frontend') - Narrow mutex scope in handleBatchSetTargets: RLock for config read, no lock during DiscoverSourceSkillsAll, Lock only for write loop (matches existing handleSetSkillTargets pattern) - Defensive filepath.Clean on cleanEmptyParents inputs - Add TestMatchesFolder unit test and trailing slash handler test