Skip to content

Commit f9dfb59

Browse files
authored
refactor: simplify global command path resolution (#567)
* refactor: simplify global command path resolution * fix: correct global Claude directory path resolution
1 parent 72196c6 commit f9dfb59

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

src/skill.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,6 @@ export class SkillManager {
7373

7474
const globalClaudeDir = path.join(
7575
path.dirname(this.paths.globalConfigDir),
76-
'..',
7776
'.claude',
7877
'skills',
7978
);

src/slashCommand.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,6 @@ export class SlashCommandManager {
5050
const globalClaude = this.#loadGlobal(
5151
path.join(
5252
path.dirname(opts.paths.globalConfigDir),
53-
'..',
5453
'.claude',
5554
'commands',
5655
),

0 commit comments

Comments
 (0)