Skip to content

fix: path-aware hasLocalConflict, homedir in install.ts, meaningful status indicator#5

Open
cedric-appdirect wants to merge 1 commit into
jgordijn:mainfrom
cedric-appdirect:fix/minor-fixes
Open

fix: path-aware hasLocalConflict, homedir in install.ts, meaningful status indicator#5
cedric-appdirect wants to merge 1 commit into
jgordijn:mainfrom
cedric-appdirect:fix/minor-fixes

Conversation

@cedric-appdirect

Copy link
Copy Markdown

Three minor fixes:

  1. hasLocalConflict: use path-prefix comparison instead of substring check. Prevents false positives where a skill named 'my_plugins' incorrectly matches '_plugins'. (M4)

  2. install.ts: replace process.env.HOME || '~' with os.homedir() for reliable home directory resolution. (MED-2)

  3. index.ts: fix dead ternary where both branches showed '✓'. Now shows '↻' for updated repos and '✓' for unchanged. (m1) Assisted-by: OpenCode with claude-opus-4-7

…tatus indicator

Three minor fixes:

1. hasLocalConflict: use path-prefix comparison instead of substring
   check. Prevents false positives where a skill named 'my_plugins'
   incorrectly matches '_plugins'. (M4)

2. install.ts: replace process.env.HOME || '~' with os.homedir()
   for reliable home directory resolution. (MED-2)

3. index.ts: fix dead ternary where both branches showed '✓'. Now
   shows '↻' for updated repos and '✓' for unchanged. (m1)
Assisted-by: OpenCode with claude-opus-4-7
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant